Learn R Programming

pmc (version 0.0-8)

fitContinuous_object: wrapper for fitContinuous

Description

Runs the fitContinuous function and returns and object with necessary information to run methods such as 'update' and 'simulate'. Call is the same as the original fitContinuous function.

Usage

fitContinuous_object(tree, data, model = "BM",
    bounds = NULL, meserr = NULL)

Arguments

tree
a phylo object phylogenetic tree
data
ape data phylo format
model
the type of model to fit
bounds
optional list of bounds for the parameter fits
meserr
measurment error, if any

Value

  • an object of class fitContinuous