mvrnorm2: More powerful multivariate normal sampling function

Description Usage Arguments

View source: R/mvrnorm2.R

Description

Besides standard mutlivariate normal sampling (mvrnorm), allows exponential multivarate normal and quasi-random multivariate normal (using the randtoolbox) all using the same interface.

Usage

1
mvrnorm2(n, mu, Sigma, exponential = FALSE, sequence = NULL, ...)

Arguments

n

number of samples

mu

mean

Sigma

covariance matrix

exponential

exponential distribution (i.e. multiply mu by exponential of sampled numbers)

sequence

any sequence available in the randtoolbox, e.g. 'halton', or 'sobol'

...

parameters passed to mvrnorm or randtoolbox sequence generator


ronkeizer/PKPDsim documentation built on May 27, 2019, 1:50 p.m.