An n row matrix, with each row being a draw from a multivariate normal or t density with covariance matrix V and mean vector mu. Alternatively each row may have a different mean vector if mu is a vector.
For density functions, a vector of log densities.
Arguments
n
number of simulated vectors required.
mu
the mean of the vectors: either a single vector of length p=ncol(V) or an n by p matrix.
V
A positive semi definite covariance matrix.
df
The degrees of freedom for a t distribution.
x
A vector or matrix to evaluate the log density of.