R/RAIDSparam_class.R
PCAalgorithm.RdA generic function for getting the PCAalgorithm slot in a S4 object.
PCAalgorithm(x)a value from the PCAalgorithm slot in the S4 object.
# 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)