RandRot {ODRF} | R Documentation |
Samples a p x p uniformly random rotation matrix
Description
Samples a p x p uniformly random rotation matrix via QR decomposition of a matrix with elements sampled iid from a standard normal distribution.
Usage
RandRot(p)
Arguments
p |
The columns of an n by p numeric matrix or data frame. |
Value
A p x p uniformly random rotation matrix.
See Also
RotMatPPO
RotMatRand
RotMatRF
RotMatMake
Examples
set.seed(220828)
(RandRot(10))
[Package ODRF version 0.0.4 Index]