add_colours: Function for adding colours and species traits

Description Usage Arguments

View source: R/plot-coefs.R

Description

Function for adding colours and species traits

Usage

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
)

Arguments

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.


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