Learn R Programming

Ease (version 0.1.2)

selectInputTreatment: Treatment of selection formulas

Description

Determines whether an entry for the selection is a list of selection formulas or just a vector. If it is a list of formulas, turns them into a vector. If it is a vector, does nothing.

Usage

selectInputTreatment(selectInput, genomeObj, haplo = FALSE)

Value

a vector of fitness values

Arguments

selectInput

a selection input

genomeObj

a Genome object

haplo

logical indicating whether the selection should apply to haplotypes (in the case of gametic selection for example)

Author

Ehouarn Le Faou