# NOT RUN {
lower = rep(-Inf,4)
upper = c(-1,0,2,5)
mu = c(0.1,0.2,0.3,0.4)
Sigma = matrix(data = c(1,0.2,0.3,0.1,0.2,1,0.4,-0.1,0.3,0.4,1,0.2,0.1,-0.1,0.2,1),
nrow = length(mu),ncol = length(mu),byrow = TRUE)
lambda = c(-2,0,1,2)
tau = 2
pmvESN(lower,upper,mu,Sigma,lambda,tau)
# }
Run the code above in your browser using DataLab