dnorm0 {ADtools}R Documentation

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

n <- 10
x <- rnorm0(n, mean = 0, sd = 1)
dnorm0(x, mean = 0, sd = 1)


[Package ADtools version 0.5.5 Index]