#' 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))}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.