A wrapper for corHMM that fits Structured Hidden State Models

amalgamated_fits_corHMM(td, amalgamations, ...)

Arguments

td

A treeplyr treedata object

amalgamations

A list produced by `amalgamate_deps`

...

Additional arguments passed to `corHMM::rayDISC`

Value

A list of fits for each character in the dataset

Details

This function fits the models contained in `amalgamations$M` to each of the characters in `td` using the function `corHMM::rayDISC`.