predict.FGLMtrunc {FGLMtrunc} | R Documentation |
Make predictions from FGLMtrunc
fitted model
Description
This function returns truncated estimate of linear predictors, fitted values, and functional parameter \beta
for a fitted FGLMtrunc
object.
Usage
## S3 method for class 'FGLMtrunc'
predict(
object,
newX.curves,
newS = NULL,
type = c("link", "response", "coefficients"),
...
)
Arguments
object |
fitted |
newX.curves |
Matrix of new values for functional predictors |
newS |
Matrix of new values for scalar predictors |
type |
Type of prediction. For logistic regression ( |
... |
additional predict arguments (Not applicable for FGLMtrunc) |
Value
Predictions depends on chosen type
.