plot_fit_tibble: Assemble data from a fit tibble and plot

Description Usage Arguments Value

View source: R/survival_fit_output.R

Description

Assemble data from a fit tibble and plot

Usage

1
2
plot_fit_tibble(fit_tibble, treatment, set_name, type, set_for_km = "all",
  B_ci = 100, scale_time = 1, ...)

Arguments

fit_tibble

the output of survival_fits_from_tabular().

treatment

the treatment for which we want to plot.

set_name

subset name for all but the Kaplan-Meier curve.

type

PFS or OS

set_for_km

subset name for the Kaplan-Meier curve.

B_ci

number of simulations to use for confidence intervals for flexsurvreg objects; becomes the B of flexsurv::summary.flexsurvreg()

scale_time

times are multiplied by this. So if your fit was done on a time scale of days, and you want to plot by weeks, set this to 1/7

...

additional parameters to pass to plot_fit_data()

Value

a list of two ggplot plots - one for survival and one for cumulative hazard


MattWiener/heemodFits documentation built on May 19, 2019, 8:21 a.m.