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