summary.de-method | R Documentation |
Summary method for class de-class
.
## S4 method for signature 'de' summary(object, ...) ## S3 method for class 'summary.de' print(x, digits = getOption("digits"), ...)
object |
an object of class |
x |
an object of class |
digits |
number of significant digits. |
... |
further arguments passed to or from other methods. |
The summary
function returns an object of class summary.de
which can be printed by the corresponding print
method. The function also returns invisibly a list with the information from the differential evolution search.
Luca Scrucca
de
f <- function(x) abs(x)+cos(x) DE <- de(fitness = function(x) -f(x), lower = -20, upper = 20, run = 50) out <- summary(DE) print(out) str(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.