Learn R Programming

SciencesPo (version 1.3.9)

normalpdf: Normal probability density function

Description

Computes the pdf at each of the values in x using the normal distribution with mean $\mu = 0$ and standard deviation $\sigma = 1$.

Usage

normalpdf(x, mu = 0, sigma = 1)

Arguments

x
a vector of quantiles.
mu
is the mean $\mu$, its default value is $\mu = 0$
sigma
is the standard deviation $\sigma$, its default value is $\sigma = 1$

encoding

UTF-8

See Also

draw.norm, normalcdf, invnormal. #'

Examples

Run this code
normalpdf(x=1.2,mu=0,sigma=1)

Run the code above in your browser using DataLab