Skip to contents

Helper function - plots Pareto optimality Ri across the grid. Contours are color coded according Ri score. Additionally, the Pareto front is drawn using geom_smooth on the subset of points whose Ri == maximum Ri

Usage

plot_ggPareto(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