Skip to contents

Use results of running Stan with bmcm_stan() relative survival joint mixture cure model.

Usage

plot_S_joint(
  bmcm_out,
  facet = TRUE,
  annot_cf = FALSE,
  add_km = FALSE,
  add_marks = TRUE,
  ...
)

Arguments

facet

Two separate plots for each end point or overlaid?

annot_cf

Annotate with cure fractions? Logical

add_km

Include Kaplan-Meier layer? Logical

add_marks

Kaplan-Meier censoring marks; logical

...

Additional parameters

out

bmcm class output list

Value

ggplot object

Examples

load("data/file_names.RData")
#> Warning: cannot open compressed file 'data/file_names.RData', probable reason 'No such file or directory'
#> Error in readChar(con, 5L, useBytes = TRUE): cannot open the connection