A generic function for getting the permutations slot in a class. The function is implemented for the SplitTypeRdata class.

permutations(x)

Arguments

x

an object.

Value

an object.

Author

Astrid Deschênes

Examples


# Define a dummy class to show usage
setClass("MyClass", slots = list(permutations="character"))

# Create an instance
obj <- new("MyClass", permutations="123")

# Call the generic (assuming a method is implemented)
# permutations(obj)