| initnorm | R Documentation | 
The pmean and psd arguments of this function represent the mean and standard deviation of a normally distributed population, respectively. Using these parameters, the function generates a random initial population with n individuals and m variables.~
initnorm(n, m, pmean, psd, type, ...)
n | 
 Population size  | 
m | 
 Chromosome length (number of variables)  | 
pmean | 
 Mean of normal distribution  | 
psd | 
 Standard deviation of normal distribution  | 
type | 
 Type of output matrix  | 
... | 
 Further arguments passed to or from other methods.  | 
The output matrix includes only chromosomes of initial population when type=2, otherwise The output matrix includes 
chromosomes of initial population and additional two empty columns for generation number and fitness values.
Zeynel Cebeci & Erkut Tekeli
initbin,
initval,
initperm,
initialize
initpop = initialize(initfunc=initnorm, n=20, m=5, pmean=50, psd=5, type=2) head(initpop,3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.