boot: Bootstrap for Ne and regression coefficients

View source: R/mlesky.R

bootR Documentation

Bootstrap for Ne and regression coefficients

Description

The trees provided to this function can be based on a non-parametric bootstrap such as produced by IQ-TREE or PhyML. Confidence intervals for Ne are based on a normal approximation to the bootstrap distribution at each time point.

Usage

boot(fit, trees, ncpu = 1)

Arguments

fit

mlesky fitted object (mlskygrid class)

trees

list of trees or ape::multiPhylo object

ncpu

Number of CPUs to use for parallel computation

Value

A list of fitted mlesky models (length equal to the number of trees provided) with confidence intervals for Ne and regression coefficients


emvolz-phylodynamics/mlesky documentation built on Feb. 13, 2025, 1:47 p.m.