Skip to content

Commit

Permalink
fixing legend colors in figure height
Browse files Browse the repository at this point in the history
  • Loading branch information
ahisi committed Jan 13, 2024
1 parent 6e59ca5 commit 6a46e84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion published-202312-favrot-hierarchical.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,9 @@ In case A (@tbl-params-future), the distribution of Z is such that Z is rarely c
res_simu_q3_1 = readRDS(file = "results/Simulations/res_simu_q3_1.rds");
res_simu_q3_2 = readRDS(file = "results/Simulations/res_simu_q3_2.rds")
res_simu_q3_1 = res_simu_q3_1 %>% mutate(Type = recode(Type, "100% Y - 100% Z" = "100% Y / 100% Z"))
res_simu_q3_1 = res_simu_q3_1 %>% mutate(Type = recode(Type,
"100% Z" = "0% Y - 100% Z",
"100% Y" = "100% Y - 0% Z"))
types = res_simu_q3_1$Type %>% unique
col = df_col %>% arrange(type) %>% filter(type %in% types) %>% select(col) %>% as.matrix %>% as.vector
Expand Down

0 comments on commit 6a46e84

Please sign in to comment.