R/sample_n.R

Defines functions sample_n.disk.frame

sample_n.disk.frame <- function(df, size = 1, replace = FALSE, weight = NULL, .env = NULL){
  stop("not implemented yet")
  if(!is.null(weight)) {
    stop("sample_n(..., weight =) is not implemented yet")
  }

  #delayed(df, ~sample_frac(.x, size, replace, weight, .env))
}

Try the disk.frame package in your browser

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

disk.frame documentation built on Aug. 24, 2023, 5:09 p.m.