R/bucket.R

#' Create a bucketed version of data
#' @name bucket
#' @param x
#' @param method

bucket <- function(x,
                   method) {
  UseMethod("bucket")
}

bucket.default <- function(x, method) {
  class(x) <-
}

bucket.character <- function(x, method) {

}

bucket.numeric <- function(x, method) {

}

bucket.factor <- function(x, method) {

}


bucketize <- function(x, ...) {

}

bucketize_integer <- function(x, ...) {

}

bucketize_quantile <- function(x, ...) {

}

bucketize_uniform <- function(x, ...) {

}

bucketize_default <- function(x, ...) {

}

is.bucketed <- function(x) {
  inherits(x,"bucket")
}

as.bucketed <- function(x) {

}
TylerGrantSmith/charlie documentation built on May 31, 2019, 12:07 p.m.