View source: R/plot-vocc-interaction.R
Plot slopes from chopstick plots
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | plot_chopstick_slopes(
  slopedat,
  type = NULL,
  x_variable = "temp_trend_scaled",
  legend_position = c(0.7, 0.95),
  hack = F,
  imm_slopes = NULL,
  add_global = T,
  global_col = "gray30",
  point_size = 0.75,
  alpha_range = c(0.4, 0.99),
  add_grey_bars = F,
  name_chop_type = T,
  order_by_chops = NULL,
  colours = NULL
)
 | 
| slopedat | Df from chopstick_slopes function | 
| type | Select type if more than one interaction in model | 
| x_variable | Which variable on x-axis | 
| legend_position | Give legend position | 
| hack | Logical for comparing with hacked slope estimate w interaction SE | 
| imm_slopes | Add immature data | 
| add_global | Logical for including global slope estimates | 
| global_col | Set colour for global slopes | 
| point_size | Change point size | 
| alpha_range | Set alapha values based on slope significance | 
| add_grey_bars | Add grey stripes to alternating species | 
| name_chop_type | Add type to chopstick name in legend | 
| colours | Add custom colours | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.