plot {rmoo} | R Documentation |
Methods for Function 'plot' in Package 'rmoo'
Description
Method used to visualize the fitness of the individuals during the execution of the algorithms.
Usage
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"), ...)
Arguments
x , y |
|
... |
other arguments passed on to methods
|
type |
Type of graph to draw, the graphs can be of the type "scatter", "pcp", "heatmap", or "polar" |
Details
The following plots are available:
"Scatter Plot"
"Parallel Coordinate Plot"
"Heat Map"
"Polar Coordinate"
Value
A graph of the evaluated type.
Author(s)
Francisco Benitez benitezfj94@gmail.com
Examples
# 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))
[Package rmoo version 0.2.0 Index]