plot  R Documentation 
Method used to visualize the fitness of the individuals during the execution of the algorithms.
plot(x, y, ...) ## S4 method for signature 'nsga,missing' plot(x, y = "missing", type = c("scatter", "pcp", "heatmap", "polar"), ...) ## S4 method for signature 'nsga1,missing' plot(x, y = "missing", type = c("scatter", "pcp", "heatmap", "polar"), ...) ## S4 method for signature 'nsga2,missing' plot(x, y = "missing", type = c("scatter", "pcp", "heatmap", "polar"), ...) ## S4 method for signature 'nsga3,missing' plot(x, y = "missing", type = c("scatter", "pcp", "heatmap", "polar"), ...)
x, y 
Objects of either class nsga1, nsga2, or nsga3. 
... 
other arguments passed on to methods

type 
Type of graph to draw, the graphs can be of the type "scatter", "pcp", "heatmap", or "polar" 
The following plots are available:
"Scatter Plot"
"Parallel Coordinate Plot"
"Heat Map"
"Polar Coordinate"
A graph of the evaluated type.
Francisco Benitez benitezfj94@gmail.com
# Where 'out' is an object of class nsga1, nsga2, or nsga3. # The plot method will by default plot a scatter plot. # # plot(out) # # The Parallel Coordinate Plot will be plotted if "pcp" is passed as a parameter to "type". # # plot(out, type="pcp") # # A heat map plot will be plotted if "heatmap" is passed as a parameter to "type" # and a vector with the individuals to plot to "individual" # # plot(out, type = "heatmap", individual = c(1:5)) # # A polar coordinate plot will be plotted if "polar" is passed as a parameter to "type" # and a vector with the individuals to plot to "individual" # # plot(out, type = "polar", individual = c(1:5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.