getncarc: Simple Function to Extract Carcass Counts

getncarcR Documentation

Simple Function to Extract Carcass Counts

Description

Carcass counts are easy to extract from any of the data structures, but it may be difficult to remember where to retrieve the data from for any particular structure. getncarc simplifies the task by having the same usage for all data types.

Usage

getncarc(x, ...)

## S3 method for class 'ringscc'
getncarc(x, ...)

## S3 method for class 'rings'
getncarc(x, ...)

## S3 method for class 'xyLayout'
getncarc(x, ...)

## S3 method for class 'ddArray'
getncarc(x, ...)

## S3 method for class 'ddArraycc'
getncarc(x, ...)

## S3 method for class 'dd'
getncarc(x, ...)

Arguments

x

a data structure with ncarc buried in it somewhere

...

ignored

Value

  • scalar number of carcasses used in the fitted model (dd and ddArray objects

  • vector of numbers of carcasses of each size used in the fitted models (ddArraycc objects)

  • vector of carcass counts at each turbine and total at the site (xyLayout and rings objects

  • list of vectors of carcass counts at each turbine for each carcass class


dwp documentation built on July 9, 2023, 5:59 p.m.