normal_dgps: Internal function.

View source: R/lpbwdensity_fn.R

normal_dgpsR Documentation

Internal function.

Description

Calculates density and higher order derivatives for Gaussian models.

Usage

normal_dgps(x, v, mean, sd)

Arguments

x

Scalar, point of evaluation.

v

Nonnegative integer, the derivative order (0 indicates cdf, 1 indicates pdf, etc.).

mean

Scalar, the mean of the normal distribution.

sd

Strictly positive scalar, the standard deviation of the normal distribution.

Value

A scalar corresponding to the value of the normal density function or derivatives thereof.


lpdensity documentation built on Jan. 22, 2023, 1:39 a.m.