Create a new ClassInstance in R.
Usage
Class(.classname, ..., .validate = TRUE)
Arguments
- .classname
The name of the class.
- ...
The fields and methods of the class definition.
- .validate
Whether to validate the class attributes.
Note: setting this to FALSE
gives a decent performance boost.
Details
The Class function creates a new ClassInstance in R.
It allows you to define fields and methods for the class.