plot {Crossover}R Documentation

Plots information about the search algorithm and its process.

Description

Plots information about the search algorithm and its process.

Usage

## S4 method for signature 'CrossoverSearchResult,missing'
plot(x, y, type = 1, show.jumps = FALSE)

Arguments

x

Result from searchCrossOverDesign.

y

Missing.

type

Type of plot. Number 1 is more colorful, but number 2 perhaps a bit easier to understand.

show.jumps

If TRUE vertical lines will show where the specified jumps occured.

Details

The x-axis corresponds to the consecutive simulation runs and the y-axis to the design criterion E that depending on the model is either a weighted average of efficiency factors or standardized pairwise variances and described in detail in the vignette of this package. Also see the vignette for a few examples and a discussion what can be derived from this plots.

Value

Returns a ggplot object of the plot.

Author(s)

Kornelius Rohmeyer rohmeyer@small-projects.de

Examples


## Not run: 
x <- searchCrossOverDesign(s=9, p=5, v=4, model=4)
plot(x)

## End(Not run)

x <- searchCrossOverDesign(s=9, p=5, v=4, model=4, n=c(50,10), jumps=c(10, 10))
plot(x, show.jumps=TRUE)
plot(x, type=2)


[Package Crossover version 0.1-22 Index]