Learn R Programming

autohrf (version 1.1.3)

create_first_generation: create_first_generation

Description

A helper function for creating the first generation.

Usage

create_first_generation(current_model, n_events, population, allow_overlap)

Value

Returns the first generation of models.

Arguments

current_model

The constraints of the current model.

n_events

Number of events in the model.

population

The size of the population in the genetic algorithm.

allow_overlap

Whether to allow overlap between events.