Learn R Programming

pmc (version 1.0.6)

pmc_fit: 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, ...)

Value

the object returned by the model fitting routine (gfit for geiger, hansen/brown for ouch)

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