check_PEC_binom_bound: Argument Check: Binomial Model

View source: R/check_PEC_binom_bound.R

check_PEC_binom_boundR Documentation

Argument Check: Binomial Model

Description

Checks if the arguments of the PEC_binom_bound() function are correctly specified.

Usage

check_PEC_binom_bound(
  n,
  alpha_1,
  beta_1,
  alpha_2,
  beta_2,
  alpha_D,
  beta_D,
  v,
  plot
)

Arguments

n

The sample size.

alpha_1, beta_1

The parameters of the first beta prior.

alpha_2, beta_2

The parameters of the second beta prior.

alpha_D, beta_D

The parameters of the design beta prior.

v

A constant used to determine the optimal sample size.

plot

Logical. Should a plot be displayed?

Value

An error message.

Note

This is an internal function.

Author(s)

Michele Cianfriglia michele.cianfriglia@uniroma1.it


michelecianfriglia/SampleSizeWass documentation built on Feb. 28, 2023, 8:56 a.m.