removeDuplicatesOffspring | R Documentation |
Remove duplicates in c(xhist,off)
, replace with non-duplicated individuals according to cf
.
removeDuplicatesOffspring(xhist, off, cf, df = duplicated)
xhist |
List of previous individuals |
off |
List of offspring individuals |
cf |
Creation function, creates random new individuals |
df |
Dupliate Function. This function determines which elements in a list/population are duplicates. By default, this is the duplicated function from R-base. |
Returns off
without duplicates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.