View source: R/GA-suggestions.R
Lorenz.Suggestions | R Documentation |
Lorenz.Suggestions
creates suggestions for the genetic algorithm used to solve the Lorenz regression.
Lorenz.Suggestions(suggestions, popSize, y, x, pi, x.scale, seed)
suggestions |
either a character string 'OLS' or a numeric matrix with at most |
popSize |
population size of the genetic algorithm |
y |
vector of responses |
x |
matrix of covariates (after standardization if applied) |
pi |
vector of normalized weights |
x.scale |
vector of standard deviations of the covariates |
seed |
seed used in the generation of the suggestions |
A matrix with at most popsize
rows and with a number of columns equal to the number of explanatory variables minus one.
Lorenz.GA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.