powered by
Required function for the crossover method to split a genetic code at random intervals. See also crossover.
crossover
splitAt(x, pos)
A numeric variable representing the binary genetic code of an individual (numeric)
A numeric value which shows at which position the genetic code is cut (numeric)
Returns a list of the splitted genetic code.
Other Helper Functions: dup_coords, getDEM, getISO3, get_grids, grid_area, hexa_area, isSpatial, permutations, readintegerSel, readinteger, tess2SPdf, windata_format
dup_coords
getDEM
getISO3
get_grids
grid_area
hexa_area
isSpatial
permutations
readintegerSel
readinteger
tess2SPdf
windata_format
# NOT RUN { splitAt(1:100,20) splitAt(as.matrix(1:100),20) # }
Run the code above in your browser using DataLab