print_PriorGen: The findbeta plot function

View source: R/findbeta_print.R

print_PriorGenR Documentation

The findbeta plot function

Description

A function that prints a summary any object of the class PriorGen

Usage

print_PriorGen(x)

Arguments

x

An object of type findbeta produced of one of the main PriorGen functions.

Examples

## Example 1
## Based on the available literature the mean value for the sensitivity of a test
## is expected to be generally low and its variance not that low but not that much neither.
res_abs_1 <- findbeta_abstract(themean.cat = "Low", thevariance.cat = "Average")
print_PriorGen(res_abs_1)

## Example 2
## Hierarchical prior
res_mult_1 <- findbetamupsi(
  themean = 0.10, percentile = 0.79,
  lower.v = TRUE, percentile.value = 0.26, psi.percentile = 0.95,
  percentile.median = 0.28, percentile95value = 0.3
)
print_PriorGen(res_mult_1)


PriorGen documentation built on April 3, 2023, 5:15 p.m.