Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


phylobase (version 0.6.8)

nData: Retrieves the number of datasets in phylo4d objects

Description

Method to retrieve the number of datasets associated with a phylogenetic tree stored as a phylo4d object

Usage

## S3 method for class 'phylo4d':
nData(x)

Arguments

x
A phylo4d object

Value

  • nData returns a vector.

Details

nData returns the number of datasets (i.e., columns) that are associated with a phylo4d object.

See Also

tdata, phylo4d

Examples

Run this code
data(geospiza)
  nData(geospiza)

Run the code above in your browser using DataLab