Takes a fitted FDboost
-object and computes the residuals,
more precisely the current value of the negative gradient is returned.
# S3 method for FDboost
residuals(object, ...)
a fitted FDboost
-object
not used
matrix of residual values
The residual is missing if the corresponding value of the response was missing.
FDboost
for the model fit.