vec_arith: vec_arith for mk_quantity objects

vec_arith.mk_quantityR Documentation

vec_arith for mk_quantity objects

Description

vec_arith for mk_quantity objects

vec_arith for mk_amount objects

vec_arith for mk_mass objects

vec_arith for mk_molecular_weight objects

vec_arith for mk_molarity_concentration objects

vec_arith for mk_mass_concentration objects

vec_arith for mk_volume objects

vec_arith for mk_pressure objects

vec_arith for mk_gas_solubility objects

vec_arith for mk_temperature objects

Usage

## S3 method for class 'mk_quantity'
vec_arith(op, x, y, ...)

## S3 method for class 'mk_amount'
vec_arith(op, x, y, ...)

## S3 method for class 'mk_mass'
vec_arith(op, x, y, ...)

## S3 method for class 'mk_molecular_weight'
vec_arith(op, x, y, ...)

## S3 method for class 'mk_molarity_concentration'
vec_arith(op, x, y, ...)

## S3 method for class 'mk_mass_concentration'
vec_arith(op, x, y, ...)

## S3 method for class 'mk_volume'
vec_arith(op, x, y, ...)

## S3 method for class 'mk_pressure'
vec_arith(op, x, y, ...)

## S3 method for class 'mk_gas_solubility'
vec_arith(op, x, y, ...)

## S3 method for class 'mk_temperature'
vec_arith(op, x, y, ...)

Arguments

op

An arithmetic operator as a string

x, y

A pair of vectors. For !, unary + and unary -, y will be a sentinel object of class MISSING, as created by MISSING().

...

These dots are for future extensions and must be empty.


sebkopf/chemtools documentation built on Aug. 1, 2023, 2:36 a.m.