rmvnorm: A function to simulate MV norm data

rmvnormR Documentation

A function to simulate MV norm data

Description

See mvtnorm package for details

Usage

rmvnorm(
  n,
  mean = rep(0, nrow(sigma)),
  sigma = diag(length(mean)),
  method = c("eigen", "svd", "chol"),
  pre0.9_9994 = FALSE,
  checkSymmetry = TRUE
)

Arguments

n

number of samples

mean

mean vector

sigma

vcov matrix

method

method to use

pre0.9_9994

see mvtnorm

checkSymmetry

see mvtnorm

Value

MV normal samples


ctross/STRAND documentation built on Nov. 14, 2024, 11:50 p.m.