Learn R Programming

RPEClust (version 0.1.0)

generateRP: Generation of random matrices

Description

This function generates B random matrices of dimension p by d by using the Haar measure.

Usage

generateRP(p, d, B)

Arguments

p

The original number of variables.

d

The reduced dimension.

B

The number of projections.

Value

A single matrix of dimension p by d*B containing B random matrices of dimension p by d.

Examples

Run this code
# NOT RUN {
R<-generateRP(p=100,d=2,B=10)
dim(R)
# }

Run the code above in your browser using DataLab