crowding_distance: Crowding distance

Description Usage Arguments Value Examples

View source: R/crowding_distance.R

Description

Compute the crowding distance between all the point belonging to a same front

Usage

1
2
3
4
crowding_distance(
  Y,
  threshold = 10^(-5) * sapply(Y[, -((NCOL(Y) - 1):NCOL(Y))], sd)
)

Arguments

Y

a matrix/data.frame of evaluated points belonging to the same front

Value

A vector containing the crowding distances

Examples

1
sum(1:10)

alex-conanec/optisure documentation built on Dec. 19, 2021, 12:27 a.m.