A function for replacement of nbSim slot in a RAIDSparam class.

# S4 method for class 'RAIDSparam'
nbSim(x) <- value

Arguments

x

a RAIDSparam object.

value

a positive integer representing TODO.

Value

the modified RAIDSparam object when the new value is valid.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


## Create a RAIDSparam object
paramDemo <- RAIDSparam()

## Assign a new value to the nbSim slot in the object
nbSim(paramDemo) <- 1L