x_sim: Simulate x matrix

View source: R/x_sim.R

x_simR Documentation

Simulate x matrix

Description

These functions provide multivariate normal distributed x matrix.

Usage

x_sim(n = 100, p = 90, ncc = 2, var = 10)

Arguments

n

The number of rows for matrix x.

p

The number of columns for matrix x.

ncc

The number of correlated columns.

var

Varaince.

Examples

x <- x_sim(n = 150, p = 100, ncc = 10, var = 2)

WenlanzZ/MKDim documentation built on July 30, 2022, 7:25 a.m.