View source: R/check_vangogh_cvd.R
| check_all_vangogh_cvd | R Documentation |
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.
check_all_vangogh_cvd(simulate = FALSE)
simulate |
Logical. If TRUE, displays simulations for each palette. Default FALSE. |
A data frame with CVD scores for all palettes
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.