HyperParam: The range of parameters

Description Usage Arguments Details Value Examples

View source: R/ouxy.r

Description

Set up range for parameters for next step

Usage

1
HyperParam(tree = tree, traitset = traitset)

Arguments

tree

An ape: tree object stored in phylo format

traitset

a dataframe that contains 3 traits

Details

Function OUprior is called to compute the model estimate, then return the range for parameter estimate for next step analysis. The range is set to 3 times larger/smaller than the parameter estimates. Function regboundfcn is called to get the bound of regression parameter. The ancestral value (root) is computed for each traits in order to used for simulation in the four functions oubmbmTrait,ououbmTrait, oubmcirTrait and ououcirTrait.

Value

A list of vectors of sample of model parameters, regression parameter and ancestral values.

Examples

1
2
3
4
5
6
## using coral dataset (running time more > 5 sec)

data(coral)
tree<-coral$tree
traitset<-coral$traitset
HyperParam(tree=tree,traitset=traitset)

ouxy documentation built on July 2, 2020, 4:05 a.m.

Related to HyperParam in ouxy...