plotActiveDemes method for "hms" class.
Examples
f <- function(x) x
result <- hms(fitness = f, lower = -5, upper = 5)
#> A list of standard deviations (sigma) or a function to create population should be provided.
#> Metaepoch: 0 Best fitness: 4.763461
#> Metaepoch: 1 Best fitness: 4.932298
#> Metaepoch: 2 Best fitness: 4.997154
#> Metaepoch: 3 Best fitness: 4.999908
#> Metaepoch: 4 Best fitness: 4.999908
#> Metaepoch: 5 Best fitness: 4.999908
#> Metaepoch: 6 Best fitness: 4.999908
#> Metaepoch: 7 Best fitness: 4.999908
#> Metaepoch: 8 Best fitness: 4.999908
#> Metaepoch: 9 Best fitness: 4.999908
plotActiveDemes(result)