Learn R Programming

rmoo (version 0.2.0)

getPopulation: Accessor methods to the population for rmoo results

Description

Accessor methods to the population for rmoo results

Usage

getPopulation(obj)

# S4 method for nsga getPopulation(obj)

# S4 method for nsga getFitness(obj)

Value

Prints the resulting population and when the result of the method-call is assigned to a variable, the population is stored as a data frame. See nsga1

nsga2, nsga3 for a description of available slots information.

Arguments

obj

an object resulting from the execution of NSGA-I, NSGA-II or NSGA-III algorithm

Author

Francisco Benitez benitezfj94@gmail.com

Examples

Run this code
# Where 'out' is an object resulting from the execution of rmoo.
#
# population_result <- getPopulation(out)
#
# population_result

Run the code above in your browser using DataLab