Skip to contents

Given a "by_Wprime" or "kriged_surfaces" object, this function returns the grid of x, y values and adds a unique grid cell identifier

Usage

calc_lscp_Pareto(x, n1, n2)

Arguments

x

A "by_Wprime" or "kriged_surfaces" object

n1

String, name of the first trait or group to be compared

n2

String, name of the second trait or group to be compared

Value

A list that contains two elements: 1) A tibble containing the x,y grid of points across morphospace, the trait or landscape values Z being compared at each point and the associated Pareto optimality (Ri) values. 2) A character vector containing the names of the groups or traits that had their Pareto optimality compared