vec_cast for mk_quantity objects

vec_cast for mk_amount objects

vec_cast for mk_mass objects

vec_cast for mk_molecular_weight objects

vec_cast for mk_molarity_concentration objects

vec_cast for mk_mass_concentration objects

vec_cast for mk_volume objects

vec_cast for mk_pressure objects

vec_cast for mk_gas_solubility objects

vec_cast for mk_temperature objects

# S3 method for mk_quantity
vec_cast(x, to, ...)

# S3 method for mk_amount
vec_cast(x, to, ...)

# S3 method for mk_mass
vec_cast(x, to, ...)

# S3 method for mk_molecular_weight
vec_cast(x, to, ...)

# S3 method for mk_molarity_concentration
vec_cast(x, to, ...)

# S3 method for mk_mass_concentration
vec_cast(x, to, ...)

# S3 method for mk_volume
vec_cast(x, to, ...)

# S3 method for mk_pressure
vec_cast(x, to, ...)

# S3 method for mk_gas_solubility
vec_cast(x, to, ...)

# S3 method for mk_temperature
vec_cast(x, to, ...)

Arguments

x

Vectors to cast.

to

Type to cast to. If NULL, x will be returned as is.

...

For vec_cast_common(), vectors to cast. For vec_cast(), vec_cast_default(), and vec_restore(), these dots are only for future extensions and should be empty.