convert: convert units to a chosen value

View source: R/convert.R

convert.pmunitsR Documentation

convert units to a chosen value

Description

convert units to a chosen value

Usage

## S3 method for class 'pmunits'
convert(x, .to, .from = attr(x, "pmunits"))

Arguments

x

unit column

.to

units to convert to (can be string, or a vector with the first element the units and the second element named "MW" containing the moleclar weight in g/mol)


qPharmetra/PMDatR documentation built on April 7, 2024, 5:42 p.m.