screeplot.epplab: Creating a Screeplot for an epplab Object

Description Usage Arguments Details Author(s) Examples

Description

Plots the objective criteria of an epplab object versus the simulation runs.

Usage

1
2
3
## S3 method for class 'epplab'
screeplot(x, type = "lines", which = 1:10, main = "",
  ylab = "Objective criterion", xlab = "Simulation run", ...)

Arguments

x

Object of class epplab.

type

Type of screeplot, values are "barplot" and "lines"

which

Which simulation runs should be taken into account

main

Main title of the plot

ylab

Y-axis label

xlab

X-axis label

...

Graphical parameters, see also par()

Details

The option which can restrict the output to certain simulation runs. In case of many simulations, this might improve the readability. The barplot option is often not meaningful, because the objective criteria are usually large and bars begin by default at zero.

Author(s)

Daniel Fischer

Examples

1
2
3
4
5
6
7
8
9
library(tourr)
data(olive)
res <- EPPlab(olive[,3:10],PPalg="PSO",PPindex="KurtosisMin",n.simu=10, maxiter=20)
screeplot(res)

# Pretty useless:
screeplot(res,type="barplot")

screeplot(res,which=1:5)

REPPlab documentation built on May 2, 2019, 8:58 a.m.