get_fittest_ind: get_fittest_ind

Description Usage Arguments Value

View source: R/get_fittest_individuals.R

Description

Used to get the element in a list of elements like the result of random_selection_regression

Usage

1
get_fittest_ind(individuals, objective = "AIC")

Arguments

individuals

list with fields variables, indices, linear_model

objective

name of the objective function to be maximized (as a string, inside quotes)

fitness

only works with AIC, using a fitness function derived from the AIC

Value

returns the element of individuals with that maximizes the objective function


Skjemaa/GA documentation built on May 3, 2019, 6:42 p.m.