Description Usage Arguments Value Author(s) See Also Examples
View source: R/plotSimplex3D.R
The function generates a 3D plot of the vertexes in a simplex optimization when simplex dimensionality is at least 3. When dimensionality is higher than 3, the plot produced is a projection of the selected variables.
1 2 |
simplex |
object of class |
sel.dim |
|
all.ver |
logical default to |
all.lin |
logical default to |
main |
title for the plot. |
angle |
angle for perspective between x and y axis. |
... |
other arguments passed to
|
3D plot of the simplex coordinates.
Cristhian Paredes, craparedesca@unal.edu.co
Jesús Ágreda, jagreda@unal.edu.co
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | plotSimplex3D(simplex = labsimplex(n = 3, centroid = c(350, 11, 0.7),
stepsize = c(10, 0.5, 0.1),
var.name = c('temperature', 'pH',
'concentration')))
## Several options are posible when visualizing higher order simplexes
plotSimplex3D(simplex = labsimplex(n = 8))
plotSimplex3D(simplex = labsimplex(n = 8), sel.dim = c(4, 6, 8))
## Simplex movements can be visualized after some experiments has been
## performed
simplex <- exampleOptimization(surface = exampleSurfaceR3,
centroid = c(350, 11, 0.7),
stepsize = c(10, 0.5, 0.1),
experiments = 18)
plotSimplex3D(simplex = simplex, angle = 80)
|
No selected dimensions for ploting. Default is the first three ones.
New vertex to be evaluated:
New vertex to be evaluated:
New vertex to be evaluated:
New vertex to be evaluated:
New vertex to be evaluated:
New vertex to be evaluated:
New vertex to be evaluated:
New vertex to be evaluated:
New vertex to be evaluated:
New vertex to be evaluated:
New vertex to be evaluated:
New vertex to be evaluated:
New vertex to be evaluated:
New vertex to be evaluated:
New vertex to be evaluated:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.