Learn R Programming

hmsr (version 1.0.1)

plotPopulation: plotPopulation method for "hms" class.

Description

plotPopulation method for "hms" class.

Usage

plotPopulation(object, dimensions)

Value

It doesn't return anything meaningful. It plots the selected two dimensions of a population.

Arguments

object
  • hms s4 object

dimensions
  • two selected dimensions

Examples

Run this code
f <- function(x) x
result <- hms(fitness = f, lower = -5, upper = 5)
plotPopulation(result, c(1, 1))

Run the code above in your browser using DataLab