Learn R Programming

fitscape (version 0.1.0)

minmax: 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

Run this code
# NOT RUN {
# 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)

# }

Run the code above in your browser using DataLab