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

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

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.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


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

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