R/weight2kg.R
weight2kg.Rd
Convert any weight unit to kg
weight2kg(value = NULL, unit = NULL)
weight in any allowed unit
unit of weight, one of "lb", "lbs", "pound", "pounds", "oz", "ounce", "ounces", "g", "gram", "grams"
weight2kg(250, unit = "oz") #> [1] 7.087373 weight2kg(250, unit = "pounds") #> [1] 113.3982 weight2kg(250, unit = "lbs") #> [1] 113.3982