R/unitHelper_%km%.R

Defines functions `%km%`

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

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.