Description Usage Arguments Details Value
Takes a fitted FDboost
-object produced by FDboost()
and
returns estimated coefficient functions/surfaces β(t), β(s,t) and
estimated smooth effects f(z), f(x,z) or f(x, z, t).
Not implemented for smooths in more than 3 dimensions.
1 2 3 4 |
object |
a fitted |
raw |
logical defaults to |
which |
a subset of base-learners for which the coefficients
should be computed (numeric vector),
defaults to NULL which is the same as |
computeCoef |
defaults to |
returnData |
return the dataset which is used to get the coefficient estimates as predictions, see Details. |
n1 |
see below |
n2 |
see below |
n3 |
n1, n2, n3 give the number of grid-points for 1-/2-/3-dimensional smooth terms used in the marginal equidistant grids over the range of the covariates at which the estimated effects are evaluated. |
n4 |
gives the number of points for the third dimension in a 3-dimensional smooth term |
... |
other arguments, not used. |
If raw = FALSE
the function coef.FDboost
generates adequate dummy data
and uses the function predict.FDboost
to
compute the estimated coefficient functions.
If raw = FALSE
, a list containing
pterms
a matrix containing the parametric / non-functional coefficients.
smterms
a named list with one entry for each smooth term in the model.
Each entry contains
x, y, z
the unique grid-points used to evaluate the smooth/coefficient function/coefficient surface
xlim, ylim, zlim
the extent of the x/y/z-axes
xlab, ylab, zlab
the names of the covariates for the x/y/z-axes
value
a vector/matrix/list of matrices containing the coefficient values
dim
the dimensionality of the effect
main
the label of the smooth term (a short label)
If raw = TRUE
, a list containing the estimated spline coefficients.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.