Last data update: 2014.03.03

R: Print an epplab Object
print.epplabR Documentation

Print an epplab Object

Description

Prints an epplab object.

Usage

## S3 method for class 'epplab'
print(x, ...)

Arguments

x

Object of class epplab.

...

Additional parameters

Details

The print function displays the result with the best value in the objective criterion.

Author(s)

Daniel Fischer

Examples


library(tourr)
data(olive)
res <- EPPlab(olive[,3:10],PPalg="PSO",PPindex="KurtosisMin",n.simu=10, maxiter=20)
print(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/print.epplab.Rd_%03d_medium.png", width=480, height=480)
> ### Name: print.epplab
> ### Title: Print an epplab Object
> ### Aliases: print,epplab-method print-method print.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 -11.170255058 in 0.644s)
Simulation 1... finished (I -31.144154706 in 0.174s)
Simulation 2... finished (I -15.976808464 in 0.053s)
Simulation 3... finished (I -18.647587406 in 0.024s)
Simulation 4... finished (I -6.957222026 in 0.489s)
Simulation 5... finished (I -12.093935650 in 0.272s)
Simulation 6... finished (I -6.903855562 in 0.026s)
Simulation 7... finished (I -0.568430736 in 0.026s)
Simulation 8... finished (I -1.019197609 in 0.053s)
Simulation 9... finished (I -10.614933463 in 0.025s)
Warning message:
In EpplabOutputConv(jepplab, maxiter) :
  There were 10 non-converged simulation runs!
> print(res)
$PPindex
[1] "KurtosisMin"

$PPindexVal
[1] -0.5684307

$PPalg
[1] "PSO"

$PPdir
    palmitic  palmitoleic      stearic        oleic     linoleic    linolenic 
0.0010769361 0.0038776301 0.0007515678 0.0019994149 0.0020553406 0.0088611676 
   arachidic   eicosenoic 
0.0027167405 0.0018399651 

$PPiter
[1] 20

> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>