powered by
There is a dependence on the bounds of two-parameter model. This function returns TRUE if those bounds are satisfied and FALSE otherwise.
is_valid_2(dr, pp, drbound = 1/6)
TRUE if the model is valid, FALSE otherwise.
TRUE
FALSE
The double reduction rate.
The preferential pairing parameter.
The maximum double reduction rate possible.
David Gerard
TOL <- 1e-6 is_valid_2(dr = 1/6, pp = 1/3, drbound = 1/6) # Valid is_valid_2(dr = 1/6, pp = 1/3 - TOL, drbound = 1/6) # Not valid is_valid_2(dr = 1/6, pp = 1/3 + TOL, drbound = 1/6) # Not valid
Run the code above in your browser using DataLab