View source: R/predict-big_pls_gd.R
| predict.big_pls_cox_gd | R Documentation |
Predict method for big_pls_cox_gd
## S3 method for class 'big_pls_cox_gd'
predict(
object,
newdata = NULL,
type = c("link", "risk", "response", "components"),
comps = NULL,
coef = NULL,
...
)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.