Skip to contents

Visualizations

visr()
Plot a supported S3 object
add_CI()
Add confidence interval (CI) to visR object
add_risktable()
Add risk tables to visR plots through an S3 method
add_CNSR()
Add censoring symbols to a visR object
add_highlight()
Highlight a specific strata
add_quantiles()
Add quantile indicators to visR plot
add_annotation()
Add annotations to a visR object
apply_theme()
Applies a theme to a ggplot object.
define_theme()
Provides a simple wrapper for themes
legendopts()
Translates options for legend into a list that can be passed to ggplot2
align_plots()
Align multiple ggplot graphs, taking into account the legend

Survival Analysis

estimate_KM()
Wrapper for Kaplan-Meier Time-to-Event analysis
estimate_cuminc()
Competing Events Cumulative Incidence
get_risktable()
Obtain risk tables for tables and plots
get_pvalue()
Summarize the test for equality across strata from a survival object using S3 method
get_quantile()
Wrapper around quantile methods
get_COX_HR()
Summarize Hazard Ratio from a survival object using S3 method
Surv_CNSR()
Create a Survival Object from CDISC Data

Data Summary

tableone()
Display a summary Table (i.e. table one)
get_tableone()
Calculate summary statistics
get_summary()
Summarize the descriptive statistics across strata from a survival object using S3 method

Attrition Diagram

get_attrition()
Generate cohort attrition table
apply_attrition()
Apply list of inclusion/exclusion criteria to a patient-level dataframe

Other Functions

render()
Render a data.frame, risktable, or tableone object as a table
tidyme()
Extended tidy cleaning of selected objects using S3 method
stat_stepribbon() StatStepribbon
Step ribbon statistic
the_lhs()
Find the "lhs" in the pipeline
summarize_long()
Calculate summary statistics from a vector
summarize_short()
Create abbreviated variable summary for table1

Data

adtte
adtte - CDISC ADaM compliant time to event data set
brca_cohort
Cancer survival data