View source: R/gams4dts_support.R
gams4dts_define_bam_formula | R Documentation |
bam
formula in GAMS4DTS
This function is used to pass user-defined variables in GAMS4DTS
into an bam
formula. The function is not intended to be called outside of GAMS4DTS
.
gams4dts_define_bam_formula( response = "depth", fixed_covariates, smooth_covariates, dat )
response |
A character input specifying the name of the response variable in |
fixed_covariates |
A list containing covariates implemented as fixed effects. |
smooth_covariates |
A list containing smooth covariates, including their names and basis functions. |
dat |
A dataframe. |
An bam
model formula for GAMS4DTS
.
Edward Lavender
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.