Skip to contents

Plot method for big_pls_cox objects

Usage

# S3 method for class 'big_pls_cox'
plot(
  x,
  which = c("scores", "loadings", "risk_groups"),
  comps = c(1, 2),
  groups = NULL,
  breaks = 3,
  ...
)

Arguments

x

A big_pls_cox object.

which

Type of plot: "scores", "loadings", or "risk_groups".

comps

Components to use (for "scores" and "loadings").

groups

Optional grouping factor for scores plot; if NULL and status available, groups are derived from event status.

breaks

Number of risk groups for "risk_groups" (default 3).

...

Further graphical arguments (passed to base plotting functions).