mvrnorm_cor: Create simulated correlatio data

View source: R/utility.R View source: R/utility.R

mvrnorm_corR Documentation

Create simulated correlatio data

Description

Create simulated correlatio data

Create simulated correlation data

Usage

mvrnorm_cor(n = 1, mu, sd, cormatrix, empirical = FALSE)

mvrnorm_cor(n = 1, mu, sd, cormatrix, empirical = FALSE)

Arguments

n

Sample size

mu

Sample mean values

sd

Sample sd values

cormatrix

Sample correlation matrix

Value

Data frame with desired properties

Data frame with desired properties


dstanley4/learnSampling documentation built on Aug. 30, 2023, 12:59 a.m.