pdata: Constructor for pdata (phylogenetic data) class

View source: R/pdata.R

pdataR Documentation

Constructor for pdata (phylogenetic data) class

Description

Combine data, type, comments, and metadata information to create a new pdata object, or check such an object for consistency

Usage

pdata(data, type, comment, metadata)

Arguments

data

a data frame

type

a factor with levels as specified by pdata, the same length as ncol(data)

comment

a character vector, the same length as ncol(data)

metadata

an arbitrary list

Value

An object of class pdata

Author(s)

Ben Bolker

See Also

pdata


phylobase documentation built on May 29, 2024, 11:24 a.m.