mvn: Generate Data from a Multivariate Normal Distribution

Description Usage Arguments Author(s) See Also Examples

View source: R/mvn.R

Description

Generate Data from a Multivariate Normal Distribution

Usage

1
mvn(n, mu, Sigma)

Arguments

n

Integer. Samples size.

mu

Numeric vector. Mean vector.

Sigma

Numeric matrix. Variance-covariance matrix.

Author(s)

Ivan Jacob Agaloos Pesigan

See Also

Other multivariate normal data functions: mvn_dat_simulation(), mvn_dat_task(), mvn_dat(), setparamsmvn(), useparamsmvn(), vm_mod_dat_simulation_simulation_summary(), vm_mod_dat_simulation_task_summary(), vm_mod_dat_simulation(), vm_mod_dat_task(), vm_mod_dat(), vm_sev_dat_simulation_simulation_summary(), vm_sev_dat_simulation_task_summary(), vm_sev_dat_simulation(), vm_sev_dat_task(), vm_sev_dat()

Examples

1
2
3
4
n <- 100
mu <- c(0, 0)
Sigma <- matrix(data = c(1, 0.50, 0.50, 1), ncol = 2)
mvn(n = n, mu = mu, Sigma = Sigma)

jeksterslabds/jeksterslabRmedsimple documentation built on Oct. 16, 2020, 11:30 a.m.