Learn R Programming

bigPLScox (version 0.8.1)

predict.big_pls_cox_gd: Predict method for big_pls_cox_gd

Description

Predict method for big_pls_cox_gd

Usage

# S3 method for 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.