Function for adding colours and species traits
1 2 3 4 5 6 7 8 | add_colours(
coefs,
col_var = "group",
species_data = stats,
add_spp_data = TRUE,
manual_colours = FALSE,
last_used = FALSE
)
|
coefs |
Coefficient dataframe from TMB model output. |
col_var |
Variable to colour by. |
species_data |
Species trait dataframe. |
add_spp_data |
Logical for if above is to be joined. |
manual_colours |
Logical for if custom colours in this function. |
last_used |
Apply colours from previous model. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.