You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 satır
1.1KB

  1. #' @importFrom dplyr left_join right_join full_join inner_join semi_join anti_join
  2. #' @importFrom dplyr mutate select filter arrange bind_rows bind_cols group_by pull slice data_frame row_number
  3. #' @importFrom tidyr gather spread
  4. #' @importFrom ggplot2 ggplot aes element_text theme labs
  5. #' @importFrom gganimate enter_fade exit_fade transition_states
  6. #' @keywords internal
  7. "_PACKAGE"
  8. plot_settings <- new.env(parent = emptyenv())
  9. plot_settings$default <- list(
  10. transition_length = 2,
  11. state_length = 1,
  12. ease_default = "sine-in-out",
  13. ease_other = NULL,
  14. enter = setNames(list(gganimate::enter_fade), "enter_fade()"),
  15. exit = setNames(list(gganimate::exit_fade), "exit_fade()"),
  16. text_family = "Fira Mono",
  17. title_family = "Fira Mono",
  18. text_size = 5,
  19. title_size = 17,
  20. color_header = "#737373",
  21. color_other = "#d0d0d0",
  22. color_missing = "#ffffff",
  23. color_fun = scales::brewer_pal(type = "qual", "Set1"),
  24. text_color = NA,
  25. cell_width = 1,
  26. cell_height = 1
  27. )