print.safe2x2Sim {safestats}R Documentation

Prints Results of Simulations for Comparing Hyperparameters for Safe Tests of Two Proportions

Description

Prints Results of Simulations for Comparing Hyperparameters for Safe Tests of Two Proportions

Usage

## S3 method for class 'safe2x2Sim'
print(x, ...)

Arguments

x

a result object obtained through simulateTwoProportions().

...

further arguments to be passed to or from methods.

Value

The data frame with simulation results, called for side effects to pretty print the simulation results.

Examples

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
  )

[Package safestats version 0.8.7 Index]