Learn R Programming

TreeSearch (version 0.2.2)

SetMorphyWeights: Set the character weightings associated with a Morphy object

Description

Set the character weightings associated with a Morphy object

Usage

SetMorphyWeights(weight, morphyObj, checkInput = TRUE)

Arguments

weight

A vector listing the new weights to be applied to each character

morphyObj

A morphy object, perhaps created with PhyDat2Morphy.

checkInput

Whether to sanity-check input data before applying. Defaults to TRUE to protect the user from crashes.

Value

The Morphy error code generated when applying tipData