R/rowsample.R

Defines functions rowsample

rowsample <- function(data = x, n = y){
  data[sample(nrow(data), n), ]
}
jackobailey/jbmisc documentation built on Nov. 10, 2018, 1:08 a.m.