View source: R/largest_eafdiff.R
largest_eafdiff | R Documentation |
Given a list of datasets, return the indexes of the pair with the largest EAF differences according to the method proposed by \citetDiaLop2020ejor.
largest_eafdiff(x, maximise = FALSE, intervals = 5L, reference, ideal = NULL)
x |
|
maximise |
|
intervals |
|
reference |
|
ideal |
|
list()
A list with two components pair
and value
.
# FIXME: This example is too large, we need a smaller one.
data(tpls50x20_1_MWT)
nadir <- apply(tpls50x20_1_MWT[,2:3], 2L, max)
x <- largest_eafdiff(split.data.frame(tpls50x20_1_MWT[,2:4], tpls50x20_1_MWT[, 1L]),
reference = nadir)
str(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.