invDnorm: Positive Inverse Of The Normal Density Function.

View source: R/invDnorm.R

invDnormR Documentation

Positive Inverse Of The Normal Density Function.

Description

Normal density function is not fully invertible. This function returns the positive inverse.

Usage

invDnorm(x)

inv_dnorm(x)

Arguments

x

A numeric vector.

Details

Cribbed from http://stackoverflow.com/questions/19589191/the-reverse-inverse-of-the-normal-distribution-function-in-r.

inv_dnorm() is deprecated.

Value

A vector the same length as x.

Author(s)

Dave Braze davebraze@gmail.com

Examples

x <- seq(-4, 4, .1)
y <- dnorm(x)
plot(x,y)
points(invDnorm(y), y, pch=3, col="blue")

davebraze/FDButils documentation built on Feb. 24, 2023, 12:14 a.m.