Learn R Programming

ActuDistns (version 2.0)

dnormal: Normal pdf

Description

Computes the pdf of the normal distribution

Usage

dnormal(x, alpha = 1, sigma = 1)

Arguments

x
scale or vector of any real values at which the pdf needs to be computed
alpha
the value of alpha parameter, can be any real
sigma
the value of sigma parameter, must be positive

Value

  • An object of the same length as x, giving the pdf values computed at x

References

S. Nadarajah, S. A. A. Bakar, Tabulations of survival models for actuarial use, submitted

Examples

Run this code
x=runif(10,min=0,max=1)
y=dnormal(x)

Run the code above in your browser using DataLab