Skip to contents

Helper function - plots trade-offs between different traits or landscape Z scores, as an x-y scatterplot. Points are color coded according to Pareto optimality Ri score.

Usage

plot_ggtrade(x, n1 = NULL, n2 = NULL)

Arguments

x

PO_List object, result of calc_lscp_Pareto. Alternatively, a dataframe or tibble containing trait values

n1

First variable to plot

n2

Second variable to plot

Value

A ggplot object