Package 'cran'

Title: Convert Volumes To Units Of Uncleaned Herring
Description: Convert a supplied volume measurement to 'crans': 'a unit of measure of landed uncleaned herring used in the North Sea fishing industry' <https://en.wikipedia.org/wiki/Cran_(unit)>.
Authors: Matt Dray [aut, cre]
Maintainer: Matt Dray <[email protected]>
License: CC0
Version: 0.0.0.9001
Built: 2024-09-01 03:30:41 UTC
Source: https://github.com/matt-dray/cran

Help Index


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)

Install Cran Conversion

Description

Create the cran measurement unit. Asks for user input. Runs on startup.

Usage

cran_install()

Value

Nothing.

See Also

cran_remove


Remove Cran Conversion

Description

Remove the cran measurement unit. Asks for user input.

Usage

cran_remove()

Value

Nothing.

See Also

cran_install