get_nice_legend: get legends of plots

get_nice_legendR Documentation

get legends of plots

Description

based on the overview table 'ǹicenames.csv', the legend shows colors for the different predictors. the legend is split into abiotic and biotic predictors, as there are 16 different colors, but 28 different predictors. TODO : add the overview bar colors as well, to produce legend for them.

Usage

get_nice_legend(type)

Arguments

type

character, is either "biotic" or "abiotic".

Value

'legend', legend extracted with 'cowplot::get_legend' which can be plotted using 'cowplot::plot_grid(legend)'.


allanecology/BetaDivMultifun documentation built on Nov. 9, 2023, 8:47 p.m.