Description Usage Arguments Details Value Author(s) References See Also Examples

Calculate the temporal mean coefficients of selection (alpha) corrected for sampling error, i.e. the best linear predictor (BLP) of alpha.

1 | ```
atCfn(aM, M, At, at)
``` |

`aM` |
the estimated temporal mean selection coefficients. |

`M` |
the estimated temporal covariance matrix (fluctuating selection). |

`At` |
a list containing the named variance-covariance matrix for each year. Sorted by year. |

`at` |
a list containing the named vectors of the estimated selection coefficient for each year. Sorted by year. |

Further details are found in Engen et al. 2012.

Returns a vector with the named best linear predictors for the temporal mean coefficients of selection (alpha).

Thomas Kvalnes

Engen, S., Saether, B.-E., Kvalnes, T. and Jensen, H. 2012. Estimating fluctuating selection in age-structured populations. Journal of Evolutionary Biology, 25, 1487-1499.

1 2 3 4 5 6 7 8 9 10 11 12 | ```
#Data set from Engen et al. 2012
data(sparrowdata)
#Fit model
lmf.1 <- lmf(formula = cbind(recruits, survival) ~ weight + tars,
age = age, year = year, data = sparrowdata)
#Extract aM, M, At and at
aM <- lmf.1$aM
M <- lmf.1$M
At <- lmf.1$At
at <- lmf.1$at
#Calculate Best Linear Predictor (BLP)
atCfn(aM = aM, M = M, At = At, at = at)
``` |

lmf documentation built on May 30, 2017, 1:44 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.