R/maxone.R

Defines functions maxone

Documented in maxone

# MAXONE fitness function 2
maxone = function(x, ...) sum(x==1)

Try the adana package in your browser

Any scripts or data that you put into this service are public.

adana documentation built on March 18, 2022, 6:03 p.m.