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

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

Arguments

x

a RAIDSparam object.

value

a single positive integer representing the current identifier for the batch.

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