Evaluate fitness in parallel using parLapply
and return a numeric vector of results. Parallel evaluation
of chromosomes may be slower than calling serial fitness_serial
unless P is very large.
1 | fitness_parallel(pop, y, x, family, fitness_function, ncores)
|
pop |
list of chromosomes to evaluate fitness of |
y |
vector of responses |
x |
matrix of covariates |
family |
error distribution family for |
fitness_function |
fitness function passed from |
ncores |
number of cores |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.