cran_convert: Convert Volumes To Units Of Uncleaned Herring

View source: R/convert.R

cran_convertR Documentation

Convert Volumes To Units Of Uncleaned Herring

Description

Converts a supplied volume measurement to crans.

Usage

cran_convert(value, unit)

Arguments

value

Numeric. The value of the measurement to convert from.

unit

Character. The unit of the measurement to convert from. Must be a recognised volume unit as per units::valid_udunits().

Value

An object of class units.

Examples

## Not run: 
    # 170.5 L is 1 cran
    cran_convert(170.5, "L")
    
## End(Not run)

matt-dray/cran documentation built on June 18, 2022, 6:23 p.m.