plot: Plot Functions for ShortForm Objects

Description Usage Arguments Details

Description

These are the plot functions for the results objects created by the ShortForm package (objects of class antcolony, tabu, and simulatedAnnealing).

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'antcolony'
plot(x, type = "all", ...)

## S3 method for class 'tabu'
plot(x, ...)

## S3 method for class 'simulatedAnnealing'
plot(x, ...)

Arguments

x

An object with one of the following classes: antcolony, tabu, or simulatedAnnealing.

type

A character string. One of "all", "pheromone", "gamma", "beta", or "variance". Matched literally. Only used with objects of class antcolony.

...

Not used with the current S3 method implementation.

Details

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.


ShortForm documentation built on March 26, 2020, 7:47 p.m.

Related to plot in ShortForm...