spatial_resids: Function to spatial autocorrelation in residuals

Description Usage Arguments Examples

View source: R/MEHRSI.R

Description

This function takes the best fitting model and resamples the data refitting and recomputing the indices to come up with a bootstrapped error estimate for the annual index value.

Usage

1
2
spatial_resids(longitude, latitude, residuals, pred_CPUE, ob_CPUE,
  region = "GOA")

Arguments

longitude

Longitude of haul

latitude

latitude of haul

residuals

residuals of the best fitting model

pred_CPUE

predicted CPUE of the best fitting model

ob_CPUE

Observed CPUE at the transect

region

either "GOA" (default) or "AI"

Examples

1

rooperc4/MEHRSI documentation built on May 21, 2019, 9:35 a.m.