gamSelect: character vector of models (Current options include gam0, gam1, gam2, gam3, gam4, gam5)
Returns
Returns a list with GAM formulas
Details
By default, the function analysisOrganizeData will store the formulas for gam0-gam4 in the variable analySpec$gamModels as a list. The user can customize this list with the function loadModels (see example).
Examples
# run analysisOrganizeData function to create the list analySpecdfr <- analysisOrganizeData (dataCensored, report=NA)df <- dfr[["df"]]analySpec <- dfr[["analySpec"]]# current models in analySpecanalySpec$gamModels
# set models in analySpec to gam0, gam1, and gam2 onlyanalySpec$gamModels <- loadModels(c('gam0','gam1','gam2'))