Learn R Programming

ADtools (version 0.5.4)

dnorm0: The density of the normal distribution

Description

The density of the normal distribution

Usage

dnorm0(x, mean, sd, log = FALSE)

Arguments

x

vector or matrix of quantiles. If x is a matrix, each row is taken to be a quantile.

mean

numeric vector; the mean vector.

sd

numeric vector; the sd vector.

log

logical; if TRUE, returns the log value.

Examples

Run this code
# NOT RUN {
n <- 10
x <- rnorm0(n, mean = 0, sd = 1)
dnorm0(x, mean = 0, sd = 1)

# }

Run the code above in your browser using DataLab