| plot | R Documentation |
These are the plot functions for the results objects created by the
ShortForm package (objects of class antcolony, tabu,
and simulatedAnnealing).
## S3 method for class 'antcolony' plot(x, type = "all", ...) ## S3 method for class 'tabu' plot(x, ...) ## S3 method for class 'simulatedAnnealing' plot(x, ...)
x |
An object with one of the following classes: |
type |
A character string. One of "all", "pheromone", "gamma", "beta", or
"variance". Matched literally. Only used with objects of class |
... |
Not used with the current S3 method implementation. |
Objects of classes tabu and simulatedAnnealing produce a
single plot which show the changes in the objective function across each
iteration of the algorithm. Objects of class antcolony can produce
up to four plots which show the changes in the pheromone levels for each
item, changes in the average standardized regression coefficients of the
model (gammas and betas), and changes in the amount of variance explained
in the model across each iteration of the algorithm.
These functions do not currently allow users to modify the resulting plots directly, but the objects produces are ggplot2 objects which should allow for additional user customization.