Calculate the values of the sigmoidal function that is defined by the
cumulative normal distribution function (pnorm
). This
method provides a convenient wrapper for the pnorm
that automatically
handles negative zeta and is more consistent in its naming.
invprobit(x, rho, zeta, log = FALSE, oneminus = FALSE)
x | numeric vector |
---|---|
rho | numeric vector of length 1 or the same length as x. Specifies the inflection point of the inverse probit curve. |
zeta | numeric vector of length 1 or the same length as x. Specifies the scale of the curve at the inflection point of the inverse probit curve. |
log | boolean if the log of the result is returned |
oneminus | boolean if one minus the result is returned |
a numeric vector of length(x)
.