weight2kg: Convert any weight unit to kg

View source: R/weight2kg.R

weight2kgR Documentation

Convert any weight unit to kg

Description

Convert any weight unit to kg

Usage

weight2kg(value = NULL, unit = NULL)

Arguments

value

weight in any allowed unit

unit

unit of weight, one of "lb", "lbs", "pound", "pounds", "oz", "ounce", "ounces", "g", "gram", "grams"

Examples

weight2kg(250, unit = "oz")
weight2kg(250, unit = "pounds")
weight2kg(250, unit = "lbs")

clinPK documentation built on May 29, 2024, 3:50 a.m.