calc_C_target: Calculate the recommended target coverage value for the...

View source: R/beta_C.R

calc_C_targetR Documentation

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)

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.

Value

numeric value

Examples

data(tank_comm)

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

MoBiodiv/mobr documentation built on Oct. 26, 2024, 10:51 a.m.