powered by
Simulates from a multivariate t distribution
rmt(n = 1, mean = rep(0, d), S, df = Inf)
number of random numbers to be generated
numeric vector giving the location parameter of the distribution
a positive definite matrix representing the scale matrix of the distribution
degrees of freedom
matrix of n rows of random vectors
# NOT RUN { mu <- c(1,12,2) Sigma <- matrix(c(1,2,0,2,5,0.5,0,0.5,3), 3, 3) df <- 4 x <- rmt(10, mu, Sigma, df) # }
Run the code above in your browser using DataLab