vpc_ggplot: A collection of internal ggplot helpers for VPC plotting

vpc_ggplotR Documentation

A collection of internal ggplot helpers for VPC plotting

Description

A collection of internal ggplot helpers for VPC plotting

Usage

geom_bin_sep(bins, show, vpc_theme)

geom_hline_loq(data, vpc_theme)

geom_obs_cens_dat_tte(data)

geom_obs_ci_continuous(data, show, vpc_theme)

geom_obs_ci_tte(data, show, vpc_theme)

geom_obs_dv_continuous(data, show, vpc_theme)

geom_obs_km(data)

geom_obs_median_continuous(data, show, vpc_theme)

geom_sim_km(data, show)

geom_sim_median_continuous(data, show, vpc_theme)

geom_sim_median_tte(data, show, smooth)

geom_sim_median_ci_continuous(data, show, smooth, vpc_theme)

geom_sim_pi_as_area_continuous(data, show, smooth, vpc_theme)

geom_sim_pi_as_area_tte(data, show, smooth, vpc_theme)

geom_sim_pi_continuous(data, show, vpc_theme)

geom_sim_pi_ci_continuous(data, show, smooth, vpc_theme, what = c("q5", "q95"))

facet_continuous(data)

facet_tte(data)

guides_stratify_color(data)

scale_x_log10_vpc(data, show)

scale_y_log10_vpc(show)

Arguments

bins

Numeric vector of bin separators (if logical value, geom_blank is returned)

show

Should the geom be shown? (TRUE/FALSE)

vpc_theme

The theme to use

data

The vpcdb object

smooth

"smooth" the VPC (connect bin midpoints) or show bins as rectangular boxes. Default is TRUE.

what

Which interval should be shown (low = "q5" or high = "q95")

Functions

  • geom_bin_sep(): Show rug plot of bin separators

  • geom_hline_loq(): Generate hlines for the lloq/uloq

  • geom_obs_cens_dat_tte(): Show the cens_dat for time-to-events

  • geom_obs_ci_continuous(): Show confidence interval for observed, continuous data

  • geom_obs_ci_tte(): Show confidence interval for observed, time-to-event data

  • geom_obs_dv_continuous(): Show observed data points

  • geom_obs_km(): Show observed Kaplan-Meier line

  • geom_obs_median_continuous(): Show observed median line for continuous data

  • geom_sim_km(): Show simulated Kaplan-Meier curves for time-to-event data

  • geom_sim_median_continuous(): Show simulated median line for continuous data

  • geom_sim_median_tte(): Show simulated median line (or steps) for time-to-event data

  • geom_sim_median_ci_continuous(): Show simulated median confidence interval for continuous data

  • geom_sim_pi_as_area_continuous(): Show simulated prediction interval area for continuous data

  • geom_sim_pi_as_area_tte(): Show simulated prediction interval area for time-to-event data

  • geom_sim_pi_continuous(): Show simulated prediction interval lines for continuous data

  • geom_sim_pi_ci_continuous(): Show simulated prediction interval confidence interval areas for continuous data

  • facet_continuous(): Facet continuous data by stratification factors

  • facet_tte(): Facet time-to-event data by stratification factors

  • guides_stratify_color(): Generate guides for stratification fill and colour

  • scale_x_log10_vpc(): Optionally show log-x scale

  • scale_y_log10_vpc(): Optionally show log-y scale


ronkeizer/vpc documentation built on May 11, 2023, 11:09 p.m.