get_data.Rd
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, ...)
a dataset
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)
#>
#> Call:
#> lm(formula = performance ~ hours, data = gdata)
#>
#> Coefficients:
#> (Intercept) hours
#> 37.880 4.422
#>