view_cvd: Interactively view cvd simulations of a figure or plot

View source: R/view_cvd.R

view_cvdR Documentation

Interactively view cvd simulations of a figure or plot

Description

Interactively view cvd simulations of a figure or plot

Usage

view_cvd(plot = last_plot())

Arguments

plot

The plot or grid object to view

Examples

## Not run: 
library(ggplot2)
plot <- ggplot(iris, aes(Sepal.Length, fill=Species)) +
  geom_density(alpha = 0.7)
view_cvd(plot)

## End(Not run)

clauswilke/colorblindr documentation built on July 29, 2023, 2:17 p.m.