Summarizes and prints an epplab object in an informative way.
Usage
## S3 method for class 'epplab'
summary(object, which = 1:10, ...)
Arguments
object
Object of class epplab.
which
Summary for which simulation runs
...
Additional parameters
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)
summary(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/summary.epplab.Rd_%03d_medium.png", width=480, height=480)
> ### Name: summary.epplab
> ### Title: Summarize an epplab Object
> ### Aliases: summary,epplab-method summary-method summary.epplab
> ### Keywords: methods print
>
> ### ** Examples
>
>
> library(tourr)
> data(olive)
> res <- EPPlab(olive[,3:10],PPalg="PSO",PPindex="KurtosisMin",n.simu=10, maxiter=20)
Simulation 0... finished (I -2.868350318 in 0.632s)
Simulation 1... finished (I -3.380919129 in 0.190s)
Simulation 2... finished (I -0.314026489 in 0.043s)
Simulation 3... finished (I -7.162072671 in 0.023s)
Simulation 4... finished (I -24.242432684 in 0.465s)
Simulation 5... finished (I -18.241352685 in 0.274s)
Simulation 6... finished (I -0.891654360 in 0.027s)
Simulation 7... finished (I -0.392757309 in 0.027s)
Simulation 8... finished (I -9.501049530 in 0.050s)
Simulation 9... finished (I -16.006173497 in 0.025s)
Warning message:
In EpplabOutputConv(jepplab, maxiter) :
There were 10 non-converged simulation runs!
> summary(res)
REPPlab Summary
---------------
Index name : KurtosisMin
Index values : -0.3140265 -0.3927573 -0.8916544 -2.86835 -3.380919 -7.162073 -9.50105 -16.00617 -18.24135 -24.24243
Algorithm used : PSO
Sphered : FALSE
Iterations : 20 20 20 20 20 20 20 20 20 20
>
>
>
>
>
>
> dev.off()
null device
1
>