crossover: Crossover.

Description Arguments Value

Description

Takes two bit strings and creates a new one of the same size by selecting the items from the first string or the second, based on a given rate (the probability of choosing an element from the first string).

Arguments

x

[logical]
First parent string.

y

[logical]
Second parent string.

rate

[numeric(1)]
A number representing the probability of selecting an element of the first string. Default is 0.5.

Value

[crossover].



Search within the mlr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.