print.safe2x2Sim | R Documentation |
Prints Results of Simulations for Comparing Hyperparameters for Safe Tests of Two Proportions
## S3 method for class 'safe2x2Sim' print(x, ...)
x |
a result object obtained through |
... |
further arguments to be passed to or from methods. |
The data frame with simulation results, called for side effects to pretty print the simulation results.
priorList1 <- list(betaA1 = 10, betaA2 = 1, betaB1 = 1, betaB2 = 10) priorList2 <- list(betaA1 = 0.18, betaA2 = 0.18, betaB1 = 0.18, betaB2 = 0.18) priorList3 <- list(betaA1 = 1, betaA2 = 1, betaB1 = 1, betaB2 = 1) simResult <- simulateTwoProportions( hyperparameterList = list(priorList1, priorList2, priorList3), alternativeRestriction = "none", alpha = 0.1, beta = 0.2, na = 1, nb = 1, deltamax = -0.4, deltamin = -0.9, deltaGridSize = 3, M = 10 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.