Predict method for big_pls_cox_gd
Usage
# S3 method for class 'big_pls_cox_gd'
predict(
object,
newdata = NULL,
type = c("link", "risk", "response", "components"),
comps = NULL,
coef = NULL,
...
)
Arguments
- object
A big_pls_cox_gd model.
- newdata
A numeric matrix or big.matrix. If NULL, uses training scores.
- type
One of "link", "risk", "response", "components".
- comps
Integer vector of components to use. Default: all.
- coef
Optional coefficient vector. If NULL, uses coef(object$cox_fit).
- ...
Unused.