denseQR: Generate dense matrices (via spectral decomposition)

Description Usage Arguments Value

View source: R/data_gen.R

Description

Generate p-dimensional matrices so that its inverse is dense. The matrix will be generated so its first 'num' eigen values are 1000 and the remaining are 1. The orthogonal basis is generated via QR decomposition of

Usage

1
denseQR(p = 8, num = 5, n = NULL)

Arguments

p

desired dimension

num

number of 'large' eigen values. Note num must be less than p

n

option to generate n observations from covariance matrix S

Value

Omega, S


SCPME documentation built on May 2, 2019, 3:42 a.m.