Skip to contents

Predictions for fast big PLS–Cox fits

Usage

# S3 method for class 'big_pls_cox_fast'
predict(
  object,
  newdata = NULL,
  type = c("link", "risk", "response", "components"),
  comps = NULL,
  coef = NULL,
  ...
)

Arguments

object

An object of class "big_pls_cox_fast".

newdata

Optional matrix or big.matrix with predictors.

type

Type of prediction: "link", "risk", "response", or "components".

comps

Optional components to use. Defaults to all.

coef

Optional coefficient vector. Defaults to object$coefficients.

...

Ignored.