Re-compute standardized survey indices for an alternative grid from a previous fitted "surveyIdx" model.
redo_surveyidx.Rd
Re-compute standardized survey indices for an alternative grid from a previous fitted "surveyIdx" model.
Usage
redo_surveyidx(
x,
model,
predD = NULL,
myids,
nBoot = 1000,
predfix = list(),
mc.cores = 1
)
Arguments
- x
DATRASraw dataset
- model
object of class "surveyIdx" as created by "get_surveyidx"
- predD
optional DATRASraw object, defaults to NULL. If not null this is used as grid.
- myids
haul.ids for grid
- nBoot
number of bootstrap samples used for calculating index confidence intervals
- predfix
optional named list of extra variables (besides Gear, HaulDur, Ship, and TimeShotHour), that should be fixed during prediction step (standardized)
- mc.cores
mc.cores number of cores for parallel processing