maxone {adana} | R Documentation |
Fitness function that calculates the number of 1s in each individual
maxone(x, ...)
x |
A vector |
... |
Further arguments passed to or from other methods. |
Number of 1s
Zeynel Cebeci & Erkut Tekeli
C2 = c(1, 1, 1, 0, 1, 0, 0, 0)
maxone(C2)
C3 = c(1, 1, 1, 1, 1, 1, 1, 1)
maxone(C3)