## a simple use
RPW.res = RPWRule(k = 2, p = c(0.7, 0.8), ssn = 400, Y0 = NULL, nsim = 200, alpha = 0.05)
## view the output
RPW.res
# \donttest{
## view all simulation settings
RPW.res$name
RPW.res$parameter
RPW.res$k
## View the simulations results
RPW.res$propotion
RPW.res$failRate
RPW.res$pwCalc
RPW.res$assignment
# }
Run the code above in your browser using DataLab