R/RAIDSparam_class.R
PCAalgorithm-set.RdA generic function for replacement of PCAalgorithm slot in a S4 object.
PCAalgorithm(x) <- valuethe modified S4 object when the new value is valid.
# Define a dummy class to show usage
setClass("MyClass", slots = list(PCAalgorithm="character"))
# Create an instance
obj <- new("MyClass", PCAalgorithm="123")
# Call the generic (assuming a method is implemented)
# PCAalgorithm(obj) <- "333"