bootstrapOneIteration: Run one bootstrap iteration of biotic stations and acoustic...

Description Usage Arguments Value

Description

This function is used in bootstrapParallel().

Usage

1
2
3
4
bootstrapOneIteration(i, projectName, assignments, strataNames,
  psuNASC = NULL, stratumNASC = NULL, resampledNASC = NULL,
  startProcess = "TotalLengthDist", endProcess = "SuperIndAbundance",
  seedV = NULL, sorted = TRUE, JavaMem = getRstoxDef("JavaMem"), ...)

Arguments

i

The boostrap iteration number.

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

assignments

Trawl assignment from baseline.

strataNames

The strata names of the survey.

psuNASC

MeanNASC from baseline.

stratumNASC

Strata NASC estimates from getNASCDistr(baseline).

resampledNASC

Resampled NASC distribution.

startProcess

The start process of the bootstrapping, being the first process before which biostations has been assigned and NASC values have been calculated.

endProcess

The end process of the bootstrapping, being the process returning a matrix containing the following columns: "Stratum", "Abundance", "weight", and grouping variables such as "age", "SpecCat", "sex".

seedV

A vector of seeds. seedV[i] is used.

sorted

Should the data be sorted prior to sampling?

JavaMem

The memory occupied by the Java virtual machine. Default is returned by getRstoxDef("JavaMem"). Reducing this may be usefull when using mutiple cores.

Value

list with (1) the abundance by length in the bootstrap run, (2) the abundance by super individuals in the bootstrap run


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