Learn R Programming

pguIMP (version 0.0.0.3)

normalDistribution: normalDistribution

Description

Probability density distribution of a normally distributed variable.

Usage

normalDistribution(x = "numeric", mu = "numeric", sigma = "numeric")

Arguments

x

The x-value (numeric)

mu

The expextation value (numeric)

sigma

The standard deviation (numeric)

Value

The probability of observing event x given mu and sigma. (numeric)

Details

Calculates p(x | mu, sigma). Where p is the probability of observing an event x given the expected value mu and the standard deviation sigma.

Examples

Run this code
# NOT RUN {
y <- pguIMP::normalDistribution(x=5, mu=0.0, sigma=1.0)
# }

Run the code above in your browser using DataLab