predict.big_pls_cox_gd: Predict method for big_pls_cox_gd

View source: R/predict-big_pls_gd.R

predict.big_pls_cox_gdR Documentation

Predict method for big_pls_cox_gd

Description

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.


bigPLScox documentation built on Nov. 18, 2025, 5:06 p.m.