Learn R Programming

ggplot2.utils (version 0.3.1)

Selected Utilities Extending 'ggplot2'

Description

Selected utilities, in particular 'geoms' and 'stats' functions, extending the 'ggplot2' package. This package imports functions from 'EnvStats' by Millard (2013), 'ggpp' by Aphalo et al. (2023) and 'ggstats' by Larmarange (2023), and then exports them. This package also contains modified code from 'ggquickeda' by Mouksassi et al. (2023) for Kaplan-Meier lines and ticks additions to plots. All functions are tested to make sure that they work reliably.

Copy Link

Version

Install

install.packages('ggplot2.utils')

Monthly Downloads

1,559

Version

0.3.1

License

Apache License 2.0

Maintainer

Daniel Saban<c3><a9>s Bov<c3><a9>

Last Published

January 8th, 2024

Functions in ggplot2.utils (0.3.1)

ttheme_set

Set default table theme
h_surv_fit

Helper for Common Kaplan-Meier Computations
stat_km

Adds a Kaplan-Meier Estimate of Survival Statistic
geom_km

Add a Kaplan-Meier Survival Curve
ggplot2.utils-package

ggplot2.utils Package
geom_km_ticks

Add Tick Marks to a Kaplan-Meier Survival Curve
stat_km_ticks

Adds Tick Marks to a Kaplan-Meier Estimate of Survival Statistic
geom_table

Inset tables
ttheme_gtdefault

Table themes
stat_n_text

Add Text Indicating the Sample Size to a ggplot2 Plot
stat_prop

Compute Proportions According to Custom Denominator
stat_km_ticks_compute

Helper for stat_km_ticks
stat_km_compute

Helper for stat_km
GeomKm

New ggproto Objects