pmc_fit: Fit any model used in PMC

View source: R/pmc.R

pmc_fitR 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)


pmc documentation built on Oct. 3, 2023, 1:07 a.m.