raw-sumStats: Get raw data from 'roleData' objects.

rawAbundanceR Documentation

Get raw data from 'roleData' objects.

Description

Gets raw data according to the function specification.

Usage

rawAbundance(x, ...)

## S4 method for signature 'roleData'
rawAbundance(x)

rawSppID(x, ...)

## S4 method for signature 'roleData'
rawSppID(x)

rawTraits(x, ...)

## S4 method for signature 'roleData'
rawTraits(x)

rawGenDiv(x, ...)

## S4 method for signature 'roleData'
rawGenDiv(x)

rawSeqs(x, ...)

## S4 method for signature 'roleData'
rawSeqs(x)

rawBranchLengths(x, ...)

## S4 method for signature 'roleData'
rawBranchLengths(x)

rawApePhylo(x, ...)

## S4 method for signature 'roleData'
rawApePhylo(x)

Arguments

x

A 'roleData' object.

...

Additional parameters, ignored.

Details

These functions return a list of length one (with summary statistics as a vector inside that list) because the summary statistics themselves can be variable length. This is distinct from other summary statistic functions which will always return a fixed length value. When using raw summary statistic functions in 'getSumStats' they will be returned in a list-column. rawAbundance gets the unordered abundance of species, while rawSpAbundance gets the ordered abundance of species which is a much longer vector

Value

A list with one element. Inside that one element is a vector of the raw data.


role-model/roleR documentation built on April 3, 2025, 1:06 p.m.