x_from_cov: x_from_cov

Description Usage Arguments Value

View source: R/x_from_cov.R

Description

Generates a matrix where each row is generated with covariance equal to cov_mat.

Usage

1
x_from_cov(cov_mat, n_rows)

Arguments

cov_mat

The covariance desired.

n_rows

Number of rows to produce.

Value

A matrix such that the covariance would tend to cov_mat as n_rows grows.


rzgross/uRbanmatching documentation built on Dec. 22, 2021, 8:20 p.m.