Skip to content
Prev 332938 / 398506 Next

Custom Numeric type in R

Christofer Bogaso <bogaso.christofer <at> gmail.com> writes:
Possible? Yes.

Your question might be framed as 

"How do I create a class and write a method for '-' that does ... ?"

The answer is "learn about methods and classes in R".

To get started, see

 ?methods
 ?class
 ?groupGenericFunction-class
 ?groupGeneric

and follow the links therein.


Check the posting guide. If you need to follow up, you should consider
whether the question you have fits better on R-devel.