plot.survfitJMMLSM {JMH}R Documentation

Plot conditional probabilities for new subjects

Description

Plot conditional probabilities for new subjects. If CompetingRisk = FALSE, print the survival probabilities. Otherwise, print the cumulative incidence probabilities for each failure type.

Usage

## S3 method for class 'survfitJMMLSM'
plot(
  x,
  include.y = FALSE,
  xlab = NULL,
  ylab = NULL,
  xlim = NULL,
  ylim.long = NULL,
  ylim.surv = NULL,
  ...
)

Arguments

x

x of class survfitJMMLSM.

include.y

include longitudinal responses of this subject versus time. Default is FALSE.

xlab

X axis label.

ylab

Y axis label.

xlim

X axis support.

ylim.long

Y axis support for the longitudinal outcome.

ylim.surv

Y axis support for the event / survival probability.

...

further arguments passed to or from other methods.

Value

plots of conditional probabilities over different pre-specified time points for subjects. If single failure type, then survival probabilities will be returned. Otherwise, cumulative incidence probabilities for each failure type will be returned.

Author(s)

Shanpeng Li lishanpeng0913@ucla.edu

See Also

survfitJMMLSM


[Package JMH version 1.0.3 Index]