MorphyDat: PhyDat to MorphyDat

Description Usage Arguments Value Author(s) See Also Examples

Description

Converts a PhyDat object to allow processing by MorphyDat

Usage

1
MorphyDat(phydat)

Arguments

phydat

A phyDat object

Value

This function returns a matrix of class *phyDat.

In addition to the standard phyDat attributes, the returned object bears an attribute inapp.level, specifying the level that corresponds to the inapplicable token, inapp.chars, specifying the number of transformation series in which three or more inapplicable tokens are present (thus requiring the use of the modified Fitch algorithm), and [#TODO] min.steps, specifying the minimum number of steps necessary to obtain the observed distribution of tokens (necessary when calculating implied weights).

Author(s)

Martin R. Smith

See Also

phyDat

Examples

1
2
data(inapplicable.datasets)
morphy <- MorphyDat(inapplicable.phyData[[1]])

ms609/inapplicable documentation built on May 23, 2019, 7:49 a.m.