R/unitHelper_%mi%.R

Defines functions `%mi%`

#' @rdname unitHelpers
#'
#' @usage x \%mi\% .
#'
`%mi%` <- function(x, . = NULL){
  units::set_units(x, "mi")
}

Try the Rdistance package in your browser

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

Rdistance documentation built on Jan. 10, 2026, 1:07 a.m.