minmax {fitscape} | R Documentation |
Get Highest and Lowest Fitness Values from Fitness Landscape
Description
Get Highest and Lowest Fitness Values from Fitness Landscape
Usage
min_fit(x)
max_fit(x)
Arguments
x |
FitLandDF object |
Value
minimum or maximum fitness value in this landscape
Examples
# create fitness landscape with min value 1 and max value 27
values <- array(1:27, dim = rep(3, 3))
my_landscape <- FitLandDF(values)
# calculate maximum fitness value
max_fit(my_landscape)
# calculate minimum fitness value
min_fit(my_landscape)
[Package fitscape version 0.1.0 Index]