Learn R Programming

caper (version 0.4)

perissodactyla: Example dataset for the CAIC package

Description

This is a comparative dataset on Perissodactyla taken from the examples include with the original CAIC program.

Usage

data(shorebird)

Arguments

References

Purvis, A. and Rambaut, A. (1995). Comparative Analysis by Independent Contrasts (CAIC) User's Guide.

See Also

caic, pgls

Examples

Run this code
data(perissodactyla)
# default behaviour is to omit incomplete data rows
(perisso <- comparative.data(perissodactyla.tree, perissodactyla.data, Binomial))
# but this can be turned off
(perisso <- comparative.data(perissodactyla.tree, perissodactyla.data, Binomial, na.omit=FALSE))
na.omit(perisso)

Run the code above in your browser using DataLab