powered by
This function generates B random matrices of dimension p by d by using the Haar measure.
B
p
d
generateRP(p, d, B)
The original number of variables.
The reduced dimension.
The number of projections.
A single matrix of dimension p by d*B containing B random matrices of dimension p by d.
d*B
# NOT RUN { R<-generateRP(p=100,d=2,B=10) dim(R) # }
Run the code above in your browser using DataLab