R/unitHelper_%cm%.R

Defines functions `%cm%`

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

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.