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