Description Usage Arguments Value See Also Examples
hgam
is used to fit high-dimensional generalized additive models.
1 2 |
formula |
an object of class |
data |
a data frame. |
weights |
vector of weights. |
model |
an object of class |
nknots |
number of knots. |
lambda1 |
grouplasso penalty term. |
lambda2 |
smoothing penalty term. |
... |
ignored. |
hgam
returns an object of class hgam
:
y |
response |
x |
covariables |
Btilde |
model matrix |
coef |
coefficients |
Btildenew |
function to set up the model matrix for (new) data |
1 2 |
Loading required package: grplasso
Loading required package: splines
Loading required package: lattice
Loading required package: rgl
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE
3: .onUnload failed in unloadNamespace() for 'rgl', details:
call: fun(...)
error: object 'rgl_quit' not found
There were 50 or more warnings (use warnings() to see the first 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.