R/unit.R

Defines functions unit

Documented in unit

#' unit 
#'
#' unit 
#'
#'
#' @inheritParams common_attributes 
#' @param standardUnit The name of a standard unit used to make this measurement See [standardUnit()]
#' @param customUnit The name of a custom unit used to make this measurement. See [customUnit()]
#' @param name The name of the unit of measure.
#'
#' @return a unit list object
#'
#' @export

 unit <- function(standardUnit = NULL,
 customUnit = NULL,
 name = NULL){ 
Filter(Negate(is.null),
 list(
standardUnit = standardUnit,
customUnit = customUnit,
name = name))}
cboettig/build.eml documentation built on May 8, 2019, 8:57 p.m.