getNASCDistr: Estimate mean NASC distribution

Description Usage Arguments Value Examples

View source: R/rstox_acoustic.r

Description

Calculates mean and variance of NASC, based on Jolly & Hampton 1990 http://www.nrcresearchpress.com/doi/pdf/10.1139/f90-147

Usage

1
getNASCDistr(baseline, psuNASC, NASCDistr = "observed")

Arguments

baseline

StoX Java baseline object.

psuNASC

MeanNASC table from baseline.

NASCDistr

Assumed distribution of mean NASC values, "normal", "lognormal", "gamma", or "weibull" ("normal" is default).

Value

list with mean(NASC) and var(NASC) per strata, global (stratified) mean, SE and RSE (Relative standard error) of NASC

Examples

1
2
3
projectName <- "Test_Rstox"
psuNASC <- getPSUNASC(projectName)
stratumNASC <- getNASCDistr(projectName, psuNASC=psuNASC, NASCDistr="normal")

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