Evaluate fitness in serial using vapply
and return a numeric vector of results. Parallel fitness evaluation is provided through fitness_parallel
1 | fitness_serial(pop, y, x, family, fitness_function)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.