This function generates normally distributed multivariate random numbers which parameters are
determined by the 90%-confidence interval. The calculation of mean
and sd
is
exact.
rmvnorm90ci_exact(n, lower, upper, correlationMatrix)
integer
: Number of observations to be generated.
numeric vector
: lower bound of the 90% confidence interval.
numeric vector
: upper bound of the 90% confidence interval.
numeric matrix
: symmetric matrix which is the correlation matrix of the
multivariate normal distribution. In particular, all diagonal elements must be equal to 1.
random
, Mvnorm