R/minBox.R

Defines functions minBox

Documented in minBox

#' Returns the minimum box number in given column
#'
#' @param redData Data to consider
#' @param column Column to consider
minBox <- function(redData,column){
  # TODO we have to make a difference between X and O columns!
  # min will be inaccurate for X columns
  min(redData$boxnumber[redData$column==column])
}

Try the rpnf package in your browser

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

rpnf documentation built on May 2, 2019, 8:33 a.m.