R/offset.determine.r

Defines functions offset.determine

Documented in offset.determine

#' @title offset.determine
#' @description unknown
#' @family abysmally documented
#' @author unknown, \email{<unknown>@@dfo-mpo.gc.ca}
#' @export
  offset.determine = function(x) {
    offset = 0
    y = x[ is.finite(x) & x>0 ]
    if( length(y) > 0) offset = min(y)
    return(offset)
  }
Beothuk/bio.utilities documentation built on May 5, 2019, 1:39 p.m.