Learn R Programming

utile.visuals

Overview

A set of themes and functions for making visuals with ggplot2.

Survival Curves

  • ggrisktable(): Creates a ggplot2 risk table for a survival::survfit object.
  • geom_stepconfint(): Produces a step function confidence interval for plotted

survival curves.

Themes

  • theme_basic(): A ggplot2 theme for plots which removes most background elements.
  • theme_risk(): A ggplot2 theme for risk tables which removes most background elements.
  • panel_border(): Replace the axes of a ggplot2 plot with a bordered panel.

Miscellaneous

  • append_table(): Combines and aligns a ggplot2 plot and table into a single plot.

Copy Link

Version

Install

install.packages('utile.visuals')

Monthly Downloads

211

Version

0.3.3

License

LGPL (>= 2)

Maintainer

Eric Finnesgard

Last Published

January 24th, 2023

Functions in utile.visuals (0.3.3)

theme_risk

Minimalist risk table theme for ggplot2
append_table

Append a ggplot2 table to the bottom of a ggplot2 plot
panel_border

Add a panel border to a ggplot2 plot
theme_basic

Minimalist theme for ggplot2
ggrisktable

Create a ggplot2 table showing the number at risk
geom_stepconfint

Step function confidence intervals for ggplot2