saveMetaepochsPopulations-hms-method: saveMetaepochsPopulations

saveMetaepochsPopulations,hms-methodR 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)

hmsr documentation built on Oct. 25, 2023, 9:07 a.m.