weight2kg {clinPK}R 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")

[Package clinPK version 0.13.0 Index]