R/unitHelper_%ha%.R

Defines functions `%ha%`

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

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.