varianceEstimation: Parametric variance estimation

Description Usage Arguments Value

View source: R/rstox_boostrap.r

Description

Calculates mean, variance, coefficient of variation and 90

Usage

1
2
3
varianceEstimation(projectName, proc = "SweptAreaDensity",
  ignore.case = TRUE, na.rm = TRUE, out = c("bySpecCat", "byLevel",
  "listByLevel"))

Arguments

projectName

The name or full path of the project, a baseline object (as returned from getBaseline or runBaseline, og a project object (as returned from openProject).

proc

The process which returns the acoustic density on which the variance should be estimated.

ignore.case

Logical: If TRUE ignore case in species category SpecCat.

na.rm

Logical: If FALSE return NA for all variance and mean statistics in the presence of NA in at lesat one stratum.

out

A string specifying the format of the output (first element used). (1) If out = "bySpecCat", return a list with one element per species category SpecCat, with sublists for the total survey and for each stratum. (2) If out = "byLevel", return a list with elements 'Total' and 'Stratum', where all species categories are merged in one data frame. (3) If out = "listByLevel", return a list with elements 'Total' and 'Stratum', with sublists for all species categories.

Value

A list with names "Stratum" and "Total" containing dataframes for each species with the following columns: Stratum, Mean, SD (standard deviation), Variance, CV (coefficient of variation), and lower and upper 90


Sea2Data/Rstox documentation built on April 18, 2018, 11:11 p.m.