Description Usage Arguments Value See Also Examples
prepare_colours
prepares the colours for the forest plots. This is
an internal function used by plot_forest
.
1 | prepare_colours(slopes_obj)
|
slopes_obj |
A list returned by |
The list provided as an input with the colours added as a new row of each data frame contained in this list.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | ## Not run:
nb_cores <- 2L
meta_Sel_phen <- fit_all(data = dat_Sel,
temperature = TRUE, precipitation = FALSE,
phenology = TRUE, morphology = FALSE,
condition = '3', nb_cores = nb_cores,
rand_trait = FALSE, fixed = NULL, digit = 3)
meta_Sel_morph <- fit_all(data = dat_Sel,
temperature = TRUE, precipitation = FALSE,
phenology = FALSE, morphology = TRUE,
condition = '3', nb_cores = nb_cores,
rand_trait = FALSE, fixed = NULL, digit = 3)
test1 <- prepare_slopes(meta_obj1 = meta_Sel_phen$meta_res)
test2 <- prepare_slopes(meta_obj2 = meta_Sel_phen$meta_res)
test3 <- prepare_slopes(meta_obj1 = meta_Sel_phen$meta_res,
meta_obj2 = meta_Sel_morph$meta_res)
test_col_1 <- prepare_colours(test1)
test_col_2 <- prepare_colours(test2)
test_col_3 <- prepare_colours(test3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.