Learn R Programming

visR (version 0.4.1)

Clinical Graphs and Tables Adhering to Graphical Principles

Description

To enable fit-for-purpose, reusable clinical and medical research focused visualizations and tables with sensible defaults and based on graphical principles as described in: "Vandemeulebroecke et al. (2018)" , "Vandemeulebroecke et al. (2019)" , and "Morris et al. (2019)" .

Copy Link

Version

Install

install.packages('visR')

Monthly Downloads

23

Version

0.4.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Mark Baillie

Last Published

March 15th, 2024

Functions in visR (0.4.1)

brca_cohort

Cancer survival data
estimate_KM

Wrapper for Kaplan-Meier Time-to-Event analysis
.convert_alpha

Converts an alpha value between its numeric and its hex-encoded form.
render

Render a data.frame, risktable, or tableone object as a table
stat_stepribbon

Step ribbon statistic
get_quantile

Wrapper around quantile methods
get_risktable

Obtain risk tables for tables and plots
get_attrition

Generate cohort attrition table
get_pvalue

Summarize the test for equality across strata from a survival object using S3 method
get_COX_HR

Summarize Hazard Ratio from a survival object using S3 method
legendopts

Translates options for legend into a list that can be passed to ggplot2
reexports

Objects exported from other packages
get_summary

Summarize the descriptive statistics across strata from a survival object using S3 method
tableone

Display a summary Table (i.e. table one)
get_tableone

Calculate summary statistics
the_lhs

Find the "lhs" in the pipeline
summarize_long

Calculate summary statistics from a vector
visR-package

visR: Clinical Graphs and Tables Adhering to Graphical Principles
visr

Plot a supported S3 object
tidyme

Extended tidy cleaning of selected objects using S3 method
visR Global

visR package
summarize_short

Create abbreviated variable summary for table1
add_risktable

Add risk tables to visR plots through an S3 method
Surv_CNSR

Create a Survival Object from CDISC Data
adtte

adtte - CDISC ADaM compliant time to event data set
align_plots

Align multiple ggplot graphs, taking into account the legend
add_CI

Add confidence interval (CI) to visR object
apply_attrition

Apply list of inclusion/exclusion criteria to a patient-level dataframe
add_highlight

Highlight a specific strata
add_CNSR

Add censoring symbols to a visR object
add_quantiles

Add quantile indicators to visR plot
add_annotation

Add annotations to a visR object
.get_alpha_from_hex_colour

Extract the numerical alpha representation of #RRGGBBAA colour
apply_theme

Applies a theme to a ggplot object.
define_theme

Provides a simple wrapper for themes
.get_strata

Get strata level combinations
.replace_hex_alpha

Replaces the AA part of a #RRGGBBAA hex-colour.
estimate_cuminc

Competing Events Cumulative Incidence