Plot coefficients against species traits
1 2 3 4 5 6 7 8 9 10 11 | coef_scatterplot(
model_coefs,
x,
coef = c("temp_trend_scaled", "DO_trend_scaled"),
group = "age",
point_size = 0.75,
point_alpha = 0.65,
point_shapes = c(21, 19),
pointrange = T,
regression = T
)
|
model_coefs |
Coefficient dataframe joined with species traits. |
x |
Trait variable for x-axis. |
coef |
Coefficient to plot. |
group |
Colour by grouping. |
point_size |
|
point_alpha |
|
point_shapes |
Vector of shapes. Defaults to open and closed circles. |
regression |
Logical for adding regression line. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.