Learn R Programming

hmsr (version 1.0.1)

saveMetaepochsPopulations: saveMetaepochsPopulations method for "hms" class.

Description

saveMetaepochsPopulations method for "hms" class.

Usage

saveMetaepochsPopulations(object, path, dimensions)

Value

It doesn't return anything. It creates plots and saves them to a specified directory.

Arguments

object

hms s4 object

path

path

dimensions

vector of two selected dimensions e.g. c(1,2)

Examples

Run this code
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)

Run the code above in your browser using DataLab