Learn R Programming

LorenzRegression (version 2.2.0)

Lorenz.ga.call: Call to the genetic algorithm for the Lorenz regression

Description

Lorenz.ga.call encapsulates the call to ga for a local management of seed setting

Usage

Lorenz.ga.call(
  ties.method,
  y,
  x,
  pi,
  V,
  popSize,
  maxiter,
  run,
  parallel.GA,
  suggestions,
  seed = NULL
)

Value

The fitted genetic algorithm

Arguments

ties.method

Either "mean" or "random".

y

vector of responses.

x

matrix of covariates.

pi

sample weights (normalized).

V

vector of uniformly distributed rvs.

popSize

passed to ga.

maxiter

passed to ga.

run

passed to ga.

parallel.GA

passed to ga.

suggestions

passed to ga.

seed

An optional integer for setting the seed for random number generation. Default is NULL.