bmMLE: Brownian motion maximum likelihood estimation

Description Usage Arguments Details Value

View source: R/bmML.R

Description

Fits the parameters of a Brownian motion model to phylogenetic and trait data

Usage

1
bmMLE(phy, x)

Arguments

phy

a phylogeny object of class phylo from package ape

x

a numeric vector of traits, length equal to number of tips in phy; order of trait values is assumed (and not checked) to be same as order of tips in phy

Details

stub

Value

a named list giving the MLE of the root trait (x0), BM variance (s2), and variance-covariance matrix (Smat)


ajrominger/hiDrosophoBioGeo documentation built on Jan. 26, 2022, 6:06 a.m.