R/utils.R

Defines functions `%||%`

utils::globalVariables(c("beta10", "beta20", "theta1", "theta2"))

# logical or infix function
`%||%` <- function(a, b) if (!is.null(a)) a else b

Try the localIV package in your browser

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

localIV documentation built on July 2, 2020, 2:35 a.m.