avg_density | R Documentation |
Calculates Fish Densities and optionally bootstrap confidence intervals. Returns a dataframe or tibble of densities for each species (depending on class input as counts) If iter and conf are not NULL than row order will be lower bound, calculated average, upper bound If iter isn not NULL but conf is NULL, than the mean from each bootstrap sample will be returned
avg_density(counts, area, iter = NULL, conf = NULL)
counts |
dataframe or tibble of counts (can also be a vector if one species) |
area |
vector of areas corresponding to observations (rows) in counts |
iter |
optional number of iterations for creating confidence intervals |
conf |
optional confidence level (0-1) (If null will return average density for each bootstrap sample) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.