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

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

Arguments

x

a RAIDSparam object.

value

a single positive numeric between 0 and 1 that represents the frequency of phase switching in the synthetic profiles.

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 pRecomb slot in the object
pRecomb(paramDemo) <- 0.03