These should preserve attributes through mathematical operations, etc. See ?groupGeneric for documentation, and the units package for a similar use case.
Once I have time, I can try to implement this myself and open a PR, but thought I'd leave this information here for now.
These should preserve attributes through mathematical operations, etc. See
?groupGeneric
for documentation, and theunits
package for a similar use case.Once I have time, I can try to implement this myself and open a PR, but thought I'd leave this information here for now.