A function for getting the np slot in a RAIDSparam class.

# S4 method for class 'RAIDSparam'
np(x)

Arguments

x

a RAIDSparam object.

Value

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

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


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

## Extract the np slot for the object
np(paramDemo)
#> [1] 1