Skip to contents

Package overview

FSSgam-package FSSgam
FSSgam: Full Subsets Multiple Regression in R Using GAMs

Core functions

Build a candidate model set from a test fit and predictor list, then fit and compare that model set by AICc.

generate_model_set()
generate_model_set
fit_model_set()
fit_model_set

All-in-one wrapper

One-shot wrapper around generate_model_set() and fit_model_set(); recommended only for small candidate sets since it does not let you inspect the model set before fitting.

full_subsets_gam()
full_subsets_gam

Correlation diagnostics

check_correlations()
check_correlations
check_non_linear_correlations()
check_non_linear_correlations

Supporting functions

Used internally by full_subsets_gam() and fit_model_set(). Exported but not intended to be called directly.

wi()
wi
extract_mod_dat()
extract_mod_dat
build_inclusion_mat()
build_inclusion_mat
fit_mod_l()
fit_mod_l

Deprecated aliases

Legacy dot.case names retained for backward compatibility. generate.model.set() and fit.model.set() are the function names cited in Fisher et al. (2018, Ecology and Evolution); full.subsets.gam() is retained because it’s used directly in the companion docs repository’s published case studies. New code should call the snake_case functions above directly.

generate.model.set()
generate.model.set
fit.model.set()
fit.model.set
full.subsets.gam()
full.subsets.gam

Datasets

case_study1
Case study 1 dataset
case_study2
Case study 2 dataset
case_study3
Case study 3 dataset
coral_data
Coral_data