R/vchoose.R

vchoose <- function(r, N, which2, values2){
   vapply(1:N, FUN = choose, FUN.VALUE = vector("numeric", 1), which = which2[r, ], values = values2)
}

Try the nadiv package in your browser

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

nadiv documentation built on May 2, 2019, 4:55 p.m.