Learn R Programming

distributional (version 0.2.1)

dist_multivariate_normal: The multivariate normal distribution

Description

maturing

Usage

dist_multivariate_normal(mu = 0, sigma = diag(1))

Arguments

mu

A list of numeric vectors for the distribution's mean.

sigma

A list of matrices for the distribution's variance-covariance matrix.

Examples

Run this code
# NOT RUN {
dist_multivariate_normal(mu = list(c(1,2)), sigma = list(matrix(c(4,2,2,3), ncol=2)))

# }

Run the code above in your browser using DataLab