mcmap_beta {mcmapper}R Documentation

Mapper function for beta distribution

Description

Maps a pair of mean and c-statistic value to the parameters of a beta distribution

Usage

mcmap_beta(
  target,
  method = "",
  integrate_controls = list(),
  optim_controls = list()
)

Arguments

target

A vector of size 2. The first element is mean and the second element is c-statistic.

method

Not implemented for this funciton yet; leave as empty string.

integrate_controls

(optional): parameters to be passed to integrate()

optim_controls

(optional): parameters to be passed to optim()

Value

A vector of size two that contains the distribution parameters

Examples

mcmap_beta(c(0.1, 0.75))

[Package mcmapper version 0.0.11 Index]