R/table.R

Defines functions getCutBins

Documented in getCutBins

#' Calculate Bins
#'
#' Calculate Bins For Cut Function
#' @param start The Lowest Number
#' @param howMuch How Much Bins should exist
#' @param distance How Much distance should be between 2 Bin Elements
#' @keywords probabilty
#' @export
#' @examples
#' getCutBins(165,10,5)
getCutBins <- function(start,howMuch,distance) {
  bins = distance * 0:howMuch + start
  return(bins)
}
maxmayr95/STWIBFH documentation built on Dec. 31, 2019, 12:56 a.m.