Learn R Programming

mobr (version 3.0.0)

calc_C_target: Calculate the recommended target coverage value for the computation of beta_C

Description

Returns the estimated gamma-scale coverage that corresponds to the largest allowable sample size (i.e. the smallest observed sample size at the alpha scale multiplied by an extrapolation factor). The default (factor = 2) allows for extrapolation up to 2 times the observed sample size of the smallest alpha sample. For factor= 1, only interpolation is applied. Factors larger than 2 are not recommended.

Usage

calc_C_target(x, factor = 2)

Value

numeric value

Arguments

x

a site by species abundance matrix

factor

numeric. A multiplier for how much larger than total community abundance to extrapolate to. Defaults to 2.

Examples

Run this code
data(tank_comm)

# What is the largest possible C that I can use to calculate beta_C
calc_C_target(tank_comm)

Run the code above in your browser using DataLab