getPSUNASC: Get and aggregate PSUNASC. Rows are reordered.

Description Usage Arguments Value Examples

Description

getPSUNASC gets a joined table with meanNASC, psu, stratum, and area. I.e., reads transect data, strata and area information from baseline Java object and merges them into one data frame.

aggPSUNASC aggregates psuNASC Layer to PELBOT. Used within functions when resampling and rescaling NASC values if Layer!=PELBOT.

Usage

1
2
3
getPSUNASC(projectName)

aggPSUNASC(psuNASC)

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).

psuNASC

Data frame as returned from from getPSUNASC.

Value

A Java integer, double, or Boolean getPSUNASC returns psuNASC Data frame with mean NASC (Value) per transect (PSU) and Layer together with strata area
aggPSUNASC returns psuNASC_agg Data frame with mean NASC (Value) per transect (PSU)

Examples

1
2
psuNASC <- getPSUNASC("Test_Rstox")
psuNASC_agg <- aggPSUNASC(psuNASC=psuNASC)

Sea2Data/Rstox documentation built on May 14, 2019, 8:58 a.m.