get_ml_rates: Get maximum likelihood estimates of DD rates

View source: R/get_ml_rates.R

get_ml_ratesR Documentation

Get maximum likelihood estimates of DD rates

Description

Get maximum likelihood estimates of DD rates

Usage

get_ml_rates(aic_tbl, n_seq = 1:ceiling(max(aic_tbl$ml_k) * 1.5))

Arguments

aic_tbl

a data frame containing ML estimates for the 10 DD models (*one* row per model) with at least cols 'dd_model', 'ml_lambda_0', 'ml_mu_0', 'ml_k' and 'ml_alpha'. E.g. the output of 'filter_aic_best(read_mle_tbl())'

n_seq

numeric vector, sequence of values of N for which the DD rates are to be returned.


TheoPannetier/hamr documentation built on Nov. 19, 2022, 3:48 a.m.