R/H.R

Defines functions H

Documented in H

#' H
#'
#' Transform logical input to a vector of numbers.
#'
#' @param x Vector of numbers
#' @return A vector of 0 and 1s
#' @author Renata Retkute, \email{r.retkute@@yahoo.com}
#' @export
#'
H <-function(x) as.numeric(x>0)
rretkute/AMISEpi documentation built on Jan. 2, 2022, 2:10 p.m.