View source: R/make.gamMRSea.R
make.gamMRSea | R Documentation |
gamMRSea
Function to allow a model of class gamMRSea
to be updated to include a panel structure or shortnames to make summary and anova outputs more readable. Function to update an lm
or glm
model to class gamMRSea
.
make.gamMRSea(
model,
panelid = NULL,
splineParams = NULL,
varshortnames = NULL,
gamMRSea = FALSE
)
model |
model object of class glm or gamMRSea |
panelid |
vector of length of the data containing the panel identification for each row of data |
splineParams |
MRSea based list object |
varshortnames |
vector containing the short names for each variable. These are used in summary and anova |
gamMRSea |
logical stating whether the call of the model should be changed to 'gamMRSea' from |
LAS Scott-Hayward, University of St Andrews
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.