mcmap_logitnorm {mcmapper} | R Documentation |
Mapper function for logit-normal distribution
Description
Maps a pair of mean and c-statistic value to the parameters of a logit-normal distribution
Usage
mcmap_logitnorm(
target = c(m = 0.25, c = 0.75),
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 |
Either empty string, which invoked the default method; or "meansolve" which uses two 1-dimensional optimization approach. |
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_logitnorm(c(0.1, 0.75))
[Package mcmapper version 0.0.11 Index]