probit Scale (GPL)
Syntax
probit(dim(<numeric>), <function>)
or
probit(aesthetic(aesthetic.<aesthetic type>), <function>)
<numeric>. A numeric value indicating the dimension to which the scale applies. See the topic dim Function (GPL) for more information.
<function>. One or more valid functions.
<aesthetic type>. An aesthetic type indicating the
aesthetic to which the scale applies. This is an aesthetic created
as the result of an aesthetic function (such as size
)
in the ELEMENT
statement.
Description
Creates a probit scale. The formula for the transformation is the inverse cumulative distribution function (CDF) of the normal distribution. Data values for this scale must fall in the closed interval [0, 1]. That is, for any data value x, 0 ≤ x ≤ 1.
Note that probit(dim(<numeric>))
is equivalent
to prob(dim(<numeric>), prob(normal(0, 1))
.
Example
probit(dim(2))