Learn R Programming

⚠️There's a newer version (1.2.1) of this package.Take me there.

lmf (version 1.2)

Functions for estimation and inference of selection in age-structured populations

Description

This R package provide methods for estimation and statistical inference on directional and fluctuating selection in age-structured populations.

Copy Link

Version

Install

install.packages('lmf')

Monthly Downloads

282

Version

1.2

License

GPL-2

Maintainer

Thomas Kvalnes

Last Published

October 31st, 2013

Functions in lmf (1.2)

lm.extract

Extract linear regression components
eigenl

Calculating lambda, u and v
nfs

Estimate temporal coefficients of selection assuming no fluctuating selection
atCfn

Calculate corrected temporal mean coefficients of selection
nearPD

Find nearest positive definite matrix
rmnorm

Generate random numbers from the multivariate normal distribution
lnL.M

Maximum likelihood function for temporal coefficients of selection
summary.lmf

Summarizing lmf fits
inv

Calculate the inverse of a matrix
boot.lmf

Bootstrap resampling for class "lmf"
lmf-package

Functions for estimation and inference of selection in age-structured populations
sparrowdata

House Sparrow data set
lmf

Fitting age-structured selection model
fs

Estimate temporal coefficients of selection
se

Standard error
plot.lmf

Plot diagnostics for an lmf object
ci.boot.lmf

Confidence intervals for class "boot.lmf"
plot.boot.lmf

Plotting function for class "boot.lmf"
projection

The projection matrix
summary.boot.lmf

Summarizing bootstraps of lmf fits