Description Usage Arguments Details Value See Also
The logit function and its inverse expit. This is used as the
link function for the prevalence regression in the FCS2 model to
transform the interval (0, 1) to the real line.
1 2 3 4 5 |
x |
a numeric vector or matrix |
The logit transformation is defined by logit(x) = log(x) - log(1 - x) so that its inverse expit is given by expit(x) = 1 / (1 + exp(-x)).
A vector or matrix the same size as x containing the
transformed values.
log for the natural logarithm and
prevalence for producing samples of the prevalence model
component, using the logit transformation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.