R/RAIDSparam_class.R
PCAalgorithm-set-RAIDSparam-method.RdA function for replacement of PCAalgorithm slot in a
RAIDSparam class.
# S4 method for class 'RAIDSparam'
PCAalgorithm(x) <- valuethe modified RAIDSparam object when the new value is valid.
## Create a RAIDSparam object
paramDemo <- RAIDSparam()
## Assign new value to the PCAalgorithm slot in the object
PCAalgorithm(paramDemo) <- "randomized"