Learn R Programming

TruncatedNormal (version 2.3)

dtmvnorm: Density function for the truncated multivariate normal distribution

Description

This function returns the (log)-density of a matrix x of observations lying in the interval [lb, ub].

Usage

dtmvnorm(
  x,
  mu,
  sigma,
  lb,
  ub,
  log = FALSE,
  type = c("mc", "qmc"),
  B = 10000,
  check = TRUE,
  ...
)

Arguments

See Also

tmvnorm