2023-11-09
Create a test data…
data$month <- factor(data$month, levels = month.name)
max_number <- ceiling(max(data$p_value, na.rm = T) * 10) / 10
data <- data %>%
pivot_wider(
names_from = month,
values_from = p_value
)
data <- rbind(data, c("p-value = 0.05", rep(0.05, 12)))
data <- data %>% mutate_at(.vars = 2:13, .funs = as.numeric)