saveMetaepochsPopulations,hms-method {hmsr} | R Documentation |
saveMetaepochsPopulations
Description
saveMetaepochsPopulations
Usage
## S4 method for signature 'hms'
saveMetaepochsPopulations(object, path, dimensions)
Arguments
object |
hms s4 object |
path |
path |
dimensions |
vector of two selected dimensions e.g. c(1,2) |
Value
It doesn't return anything. It creates plots and saves them to a specified directory.
Examples
fitness <- function(x) x[1] + x[2]
lower <- c(-5, -5)
upper <- c(5, 5)
result <- hms(fitness = fitness, lower = lower, upper = upper)
selected_dimensions <- c(1, 2)
saveMetaepochsPopulations(result, tempdir(), selected_dimensions)
[Package hmsr version 1.0.1 Index]