gams4dts_bam_model: Evaluate an 'bam' model for 'GAMS4DTS'

View source: R/gams4dts_support.R

gams4dts_bam_modelR Documentation

Evaluate an bam model for GAMS4DTS

Description

This function is a wrapper for bam which passes user-defined inputs from GAMS4DTS to bam. The function is not intended to be called outside of GAMS4DTS.

Usage

gams4dts_bam_model(
  f,
  likelihood = list(distribution = "gaussian", link = "identity"),
  rho = 0,
  knots,
  gamma = 1,
  dat
)

Arguments

f

A formula (see bam).

likelihood

A list specifying the likelihood distribution and link function.

rho

rho (see bam).

knots

knots (see bam).

gamma

gamma (see bam).

dat

A dataframe containing the data used to fit the model (see bam).

Value

An bam model object.

Author(s)

Edward Lavender


edwardlavender/Tools4ETS documentation built on Nov. 29, 2022, 7:41 a.m.