pmc_fit {pmc} | R Documentation |
Fit any model used in PMC
Description
The fitting function used by pmc to generalize fitting to both geiger and ouch models.
Usage
pmc_fit(tree, data, model, ...)
Arguments
tree |
a phylogenetic tree. can be ouch or ape format |
data |
trait data in ape or ouch format |
model |
the name of the model to fit, |
... |
whatever additional options would be provided to the model fit |
Value
the object returned by the model fitting routine (gfit for geiger, hansen/brown for ouch)
[Package pmc version 1.0.6 Index]