Learn R Programming

mcStats (version 0.1.0)

mcDNorm: dnorm but with more arguments

Description

compute density of normal distribution while allowing for more arguments which are ignored

Usage

mcDNorm(x, mean = 0, sd = 1, log = FALSE, ...)

Arguments

x

x value

mean

mean of normal distribution

sd

std. dev. of noraml distribution

log

logical; if TRUE probabilities are given as log(p). See stats::dnorm

...

extra parameters which are ignored

Value

density of normal distribution

Examples

Run this code
# NOT RUN {
mcDNorm(x = 0)

# }

Run the code above in your browser using DataLab