sim_diffs: For each internal node, simulate the difference between state...

Description Usage Arguments Value

View source: R/utility_functions.R

Description

For each internal node, simulate the difference between state values at the node's children

Usage

1
sim_diffs(phy, model_parameters, model_method = "BM")

Arguments

phy

An ape::phylo object

model_parameters

Parameter estimates for evolutionary model

model_method

The model of trait evolution. Can be one of c("BM","OU")

Value

The simulated child differences for each internal node


caseywdunn/hutan documentation built on June 12, 2020, 3:12 a.m.