generic function to recast an isotopic value object during conversions

recast_isoval(iso, to_class, mods = list(), validate = TRUE)

Arguments

iso

object

to_class

- which class to cast to

mods

- list of modifications to existing attributes (can be list(x = NULL) for removing attribute x)

validate

- whether to validate after the recast, default TRUE