summary.genopt {BurStMisc}R Documentation

Summary of genopt object

Description

The call, best solution and summary of objectives in the final population.

Usage

## S3 method for class 'genopt'
summary(object, ...)

Arguments

object

the result of a call to genopt.

...

currently unused.

Value

a list with components:

call

image of the call to genopt.

summary.objectives

summary of the objectives of the solutions in the final population.

best.solution

the vector of parameters with the best solution in the population.

See Also

genopt.

Examples

  # two parameters, population size 5
  go1 <- genopt(function(x, other) sum(x, other),
                population=matrix(rexp(10), nrow=2, ncol=5),
                lower=0, add.arg=list(other=3), trace=FALSE)
  summary(go1)

[Package BurStMisc version 1.1 Index]