View source: R/growthrate_gam.R
find_covars_gam | R Documentation |
pull out covariests from mgcv model formula
find_covars_gam(fml, ...)
fml |
formula to get covariates from |
... |
covariates to ignore (like agevar) |
fml <- y ~ s(x) + x2 + s(x3, bs="re") + x4
covars <- find_covars_gam(fml, x4) # x, x2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.