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

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

Arguments

x

a RAIDSparam object.

value

a single positive integer specifying the number of threads to be used.

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 np slot in the object
np(paramDemo) <-3L