Description Usage Arguments Value Examples
Calculates mean, variance, coefficient of variation and 90
1 2 3 | varianceEstimation(projectName, proc = "SweptAreaDensity",
ignore.case = TRUE, na.rm = TRUE, out = c("bySpecCat", "byLevel",
"listByLevel"))
|
projectName |
The name or full path of the project, a baseline object (as returned from |
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. |
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
1 2 3 4 5 6 7 8 | ## Not run:
# Download an example swept area project:
# pr <- createProject(
# "ftp://ftp.imr.no/StoX/Example%20projects/Example_sweptarea_BarentsSea_cod_1999.zip"
# )
# v <- varianceEstimation(pr)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.