trim_refine function

TRIM stepwise refinement

TRIM stepwise refinement

trim_refine( count, site, year, month, weights, covars, model, changepoints, ..., premove = 0.2, penter = 0.15 )

Arguments

  • count: a numerical vector of count data.
  • site: a vector (numerical or factor) of site identifiers for each count data point.
  • year: a numerical vector of annual time points for each count data point.
  • month: an optional numerical vector of monthly time points.
  • weights: an optional numerical vector of weights.
  • covars: an optional list of covariates.
  • model: a model type selector.
  • changepoints: a numerical vector change points (only for Model 2)
  • premove: threshold probability for removal of parameters.
  • penter: threshold probability for re-introduction of parameters.

Returns

a list of class trim, that opcontains all output, statistiscs, etc. Usually this information is retrieved by a set of postprocessing functions

  • Maintainer: Patrick Bogaart
  • License: EUPL
  • Last published: 2024-06-21