check_all_vangogh_cvd: Batch Check CVD Accessibility for All Palettes

View source: R/check_vangogh_cvd.R

check_all_vangogh_cvdR Documentation

Batch Check CVD Accessibility for All Palettes

Description

Runs CVD accessibility checks across all Van Gogh palettes and returns a summary data frame. Useful for generating documentation and identifying the most accessible palettes.

Usage

check_all_vangogh_cvd(simulate = FALSE)

Arguments

simulate

Logical. If TRUE, displays simulations for each palette. Default FALSE.

Value

A data frame with CVD scores for all palettes

Examples

## Not run: 
# Get scores for all palettes
all_scores <- check_all_vangogh_cvd()

# Find the most accessible palettes
library(dplyr)
all_scores %>%
  group_by(palette) %>%
  summarise(avg_distance = mean(min_distance)) %>%
  arrange(desc(avg_distance))

## End(Not run)


vangogh documentation built on Nov. 5, 2025, 7:39 p.m.