R/fun_zero.R

Defines functions fun_zero

Documented in fun_zero

#' Divide function without 0/0 errors
#'
#' This function attempts to divide without 0/0 errors.
#'
#' @param a,b Integers
#' @return a divided by b
fun_zero <- function(a, b)ifelse(b == 0, 0, a / b)
# The following block is used by usethis to automatically manage
# roxygen namespace tags. Modify with care!
## usethis namespace: start
## usethis namespace: end
NULL
MANO-B/MicroSEC documentation built on Dec. 30, 2024, 4:11 a.m.