Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rtmvnorm

Random number generator for the truncated multivariate normal distribution.


Description

This function returns a matrix of draws from a multivariate normal distribution truncated on the interval [lb, ub].

Usage

rtmvnorm(n, mu, sigma, lb, ub)

See Also


TruncatedNormal

Truncated Multivariate Normal and Student Distributions

v2.2
GPL-3
Authors
Zdravko Botev [aut] (<https://orcid.org/0000-0001-9054-3452>), Leo Belzile [aut, cre] (<https://orcid.org/0000-0002-9135-014X>)
Initial release
2020-05-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.