BM: Bateman-mukai estimators for MA data

Description Usage Arguments Value Examples

Description

Bateman-mukai estimators for MA data

Usage

1
BM(obs, Ve)

Arguments

obs,

a vector of ftiness values

Ve,

an estimate of within-line ('environmental') variance

Value

U numeric BM estimator of mutation rate

Ea numeric BM estimator of effect-size

Examples

1
2
3
4
low_var <- rma_normal(n=100, a=0.01, Va=1e-9, Ve=1e-4, Ut=10)
BM(low_var, 1e-4)
high_var <- rma_normal(n=100, a=0.01, Va=1e-3, Ve=1e-4, Ut=10)
BM(high_var, 1e-4)

dwinter/dfe documentation built on May 15, 2019, 6:21 p.m.