powered by
The function is used by the crossover method to split a genetic code at certain intervals. See also crossover.
crossover
splitAt(x, pos)
A numeric variable that represents an individual's binary genetic code
A numeric value that indicates where to split the genetic code
Returns a list of the split genetic code.
Other Helper Functions: dup_coords(), getDEM(), getISO3(), get_grids(), grid_area(), hexa_area(), isSpatial(), permutations(), readintegerSel(), readinteger(), windata_format()
dup_coords()
getDEM()
getISO3()
get_grids()
grid_area()
hexa_area()
isSpatial()
permutations()
readintegerSel()
readinteger()
windata_format()
# NOT RUN { splitAt(1:100, 20) splitAt(as.matrix(1:100), 20) # }
Run the code above in your browser using DataLab