dist <- dist_multivariate_normal(mu = list(c(1,2)), sigma = list(matrix(c(4,2,2,3), ncol=2)))
dimnames(dist) <- c("x", "y")
dist
mean(dist)
variance(dist)
support(dist)
generate(dist, 10)
density(dist, cbind(2, 1))
density(dist, cbind(2, 1), log = TRUE)
cdf(dist, 4)
quantile(dist, 0.7)
quantile(dist, 0.7, type = "marginal")
Run the code above in your browser using DataLab