Last data update: 2014.03.03

R: Plots a Scatterplot Matrix for an epplab Object
pairs.epplabR Documentation

Plots a Scatterplot Matrix for an epplab Object

Description

Plots a scatterplot matrix of fitted scores of an epplab object.

Usage

## S3 method for class 'epplab'
pairs(x, which = 1:10, ...)

Arguments

x

Object of class epplab.

which

Which simulation runs should be taken into account.

...

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.

Author(s)

Daniel Fischer

Examples


library(tourr)
data(olive)
res <- EPPlab(olive[,3:10],PPalg="PSO",PPindex="KurtosisMin",n.simu=10, maxiter=20)
pairs(res)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(REPPlab)
Loading required package: rJava
Loading required package: lattice
Loading required package: LDRTools
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/REPPlab/pairs.epplab.Rd_%03d_medium.png", width=480, height=480)
> ### Name: pairs.epplab
> ### Title: Plots a Scatterplot Matrix for an epplab Object
> ### Aliases: pairs,epplab-method pairs-method pairs.epplab
> ### Keywords: hplot methods
> 
> ### ** Examples
> 
> 
> library(tourr)
> data(olive)
> res <- EPPlab(olive[,3:10],PPalg="PSO",PPindex="KurtosisMin",n.simu=10, maxiter=20)
Simulation 0... finished (I -10.804457319 in 0.643s)
Simulation 1... finished (I -4.454451717 in 0.175s)
Simulation 2... finished (I -1.194074487 in 0.069s)
Simulation 3... finished (I -19.463826660 in 0.022s)
Simulation 4... finished (I -1.361570315 in 0.476s)
Simulation 5... finished (I -23.285906829 in 0.261s)
Simulation 6... finished (I -17.399503534 in 0.024s)
Simulation 7... finished (I -20.859631788 in 0.026s)
Simulation 8... finished (I -2.208146018 in 0.053s)
Simulation 9... finished (I -1.802362577 in 0.025s)
Warning message:
In EpplabOutputConv(jepplab, maxiter) :
  There were 10 non-converged simulation runs!
> pairs(res)
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>