slope_scatterplot: Scatterplot of slopes against traits

Description Usage Arguments

View source: R/plot-vocc-interaction.R

Description

Scatterplot of slopes against traits

Usage

 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
)

Arguments

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


pbs-assess/gfranges documentation built on Dec. 13, 2021, 4:50 p.m.