Learn R Programming

labsimplex (version 0.1.2)

plotSimplexResponse: Plots the response versus the vertex number of a simplex optimization.

Description

The function generates a ggplot object from an object with class smplx. The response is plotted against the vertex number.

Usage

plotSimplexResponse(x, ...)

Arguments

x

object with class smplx containig the coordinates of the vertices and their responses.

...

other graphical parameters used in plot

Value

Plot of response against vertex number.

Details

If the simplex object being ploted was obtained using a variable size algorithm, some experimental points could be disregarded and will be shown with a red mark indicating that the vertex was not used in the obtention of new vertexes.

Examples

Run this code
# NOT RUN {
  simplex <- exampleOptimization(surface = exampleSurfaceR3,
                                 centroid = c(350, 11, 0.7),
                                 stepsize = c(10, 0.5, 0.1),
                                 experiments = 18, algor = 'variable')
  plotSimplexResponse(simplex)
# }

Run the code above in your browser using DataLab