Generates a random projection according to Haar measure or a uniform distribution on axis-aligned projections.
Usage
RPGenerate(p = 100, d = 10, method = "Haar")
Arguments
p
The original data dimension
d
The lower dimension
method
Projection distribution: either "Haar" for Haar distributed projections, "axis" for uniformly distributed axis-aligned projections, or "other" for user defined method