makeMPM2Function | R Documentation |
Generator for function with multiple peaks following the multiple peaks model 2.
makeMPM2Function(
n.peaks,
dimensions,
topology,
seed,
rotated = TRUE,
peak.shape = "ellipse"
)
n.peaks |
[ |
dimensions |
[ |
topology |
[ |
seed |
[ |
rotated |
[ |
peak.shape |
[ |
[smoof_single_objective_function
]
R interface by Jakob Bossek. Original python code provided by the Simon Wessing.
See the technical report of multiple peaks model 2 for an in-depth description of the underlying algorithm.
## Not run:
fn = makeMPM2Function(n.peaks = 10L, dimensions = 2L,
topology = "funnel", seed = 123, rotated = TRUE, peak.shape = "ellipse")
if (require(plot3D)) {
plot3D(fn)
}
## End(Not run)
## Not run:
fn = makeMPM2Function(n.peaks = 5L, dimensions = 2L,
topology = "random", seed = 134, rotated = FALSE)
plot(fn, render.levels = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.