fitModelandcalcFC: Function to apply fitModel() then calcFC(), and return the...

View source: R/Module_Sub_boots_functions.R

fitModelandcalcFCR Documentation

Function to apply fitModel() then calcFC(), and return the pt.fc

Description

Function to apply fitModel() then calcFC(), and return the pt.fc

Usage

fitModelandcalcFC(
  data = NULL,
  fitmodel.args = list(model = NULL, settings = NULL),
  calcfc.args = list(fc.yr = NULL, settings = NULL),
  predictors = NULL,
  covariates = NULL
)

Arguments

data

output from prepData

fitmodel.args

model fitting specs as per fitModel

calcfc.args

forecast specs as per calcFC

Value

point forecast.


SalmonForecastR/ForecastR-Package documentation built on March 10, 2023, 2:18 p.m.