Generic function for replacement of the classification slot in a class
Source:R/splitTypeRdata_class.R
classification-set.RdA generic function for replacement of the classification slot in a S4 object.
Usage
classification(x) <- valueExamples
# Define a dummy class to show usage
setClass("MyClass", slots = list(classification="character"))
# Create an instance
obj <- new("MyClass", classification="123")
# Call the generic (assuming a method is implemented)
# classification(obj) <- "333"