View source: R/plot-vocc-interaction.R
Scatterplot of slopes against traits
1 2 3 4 5 6 7 8 9 10 11 12 | slope_scatterplot(
slopes_w_traits,
x,
slope_var = "slope_est",
col_group = "chopstick",
shape_group = "age",
point_size = 0.75,
point_alpha = 0.99,
point_shapes = c(21, 19),
pointrange = T,
regression = F
)
|
slopes_w_traits |
Df of slopes merged with df of species traits |
x |
Variable (species trait) on x-axis |
slope_var |
Varible containing slope estimate |
col_group |
Varible to colour by |
shape_group |
Varible to set shape by |
point_size |
Set point size |
point_alpha |
Set point alpha |
point_shapes |
Vector of shapes. Defaults to open and closed circles |
pointrange |
Logical for adding 95CI bars to points. Default T |
regression |
Logical for plotting simple linear regression line |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.