summary.multiOU: Summarize a multiOU fit's outputs, including bootstraps, if...

Description Usage Arguments Value Examples

Description

Summarize a multiOU fit's outputs, including bootstraps, if provided

Usage

1
2
3
  ## S3 method for class 'multiOU'
 summary(modelfit, bootstrap = NULL,
    silent = FALSE)

Arguments

modelfit

a multiOU class model fit (from multiTypeOU)

bootstrap

the bootstraps of the object. Optional, otherwise just gives fit.

silent

a logical indicating if summary info should be printed to terminal

Value

a list containing parameters estimated, the summary of the bootstrap, and the bootstrap object, if provided. Otherwise just parameters and a message that bootstrap wasn't provided.

Examples

1
2
3
4
5
data(parrotfish)
 alphas <- multiTypeOU(data=dat, tree=tree, regimes = intramandibular,
  model_spec = list(alpha = "indep",sigma = "global", theta = "indep"))
 boots <- replicate(3, bootstrap(alphas))
 summary(alphas, boots)

cboettig/wrightscape documentation built on May 13, 2019, 2:12 p.m.