get_data | R Documentation |
This function returns a dataset with the variables in the GAMLj model transformed according to GAMLj options. It is usefull to run additional models with other R packages with the same setup used by GAMLj
get_data(object, ...)
object |
a gamlj results object of the class 'gamlj*Results' |
... |
additional arguments passed to the GAMLj estimation function |
a dataset
Marcello Gallucci
data('qsport')
gmod<-GAMLj3::gamlj_lm(formula = performance ~ hours,
data = qsport,
covs_scale = c(hours='standardized'))
gdata<-get_data(gmod)
lm(performance ~ hours,data=gdata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.