An R6 class for holding information about a product with at least one active ingredient
An R6Class
generator object.
name
The name of the product
ais
A list of active ingredients
concentrations
The concentration of the ais
concentration_units
Defaults to g/L
new()
pp$new( name, ..., concentrations, concentration_units = "g/L", density = 1000, density_units = "g/L" )
print()
pp$print()
clone()
The objects of this class are cloneable with this method.
pp$clone(deep = FALSE)
deep
Whether to make a deep clone.