summary.genopt: Summary of genopt object

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
2
## 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

1
2
3
4
5
  # 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)

BurStMisc documentation built on May 2, 2019, 12:12 p.m.