vec_cast: vec_cast for mk_quantity objects

vec_cast.mk_quantityR Documentation

vec_cast for mk_quantity objects

Description

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

Usage

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

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

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

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

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

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

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

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

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

## S3 method for class '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.


KopfLab/MediaChemTools documentation built on Aug. 20, 2023, 1:15 a.m.