Rdocumentation
powered by
Learn R Programming
phylobase (version 0.6.8)
pdata: 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) check_pdata(object)
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
object
an object of class
pdata
Value
An object of class
pdata
See Also
pdata