DCMrandom {RSpincalc} | R Documentation |
DCMrandom
generates uniform random direction cosine matrices.
DCMrandom(n=NA, tol = 10 * .Machine$double.eps, ignoreAllChk=FALSE)
n |
Optional integer for the number of generated direction cosine matrices, default = 1. |
tol |
Tolerance from deviations from unity for the determinant of rotation matrices or the the vector length for unitary vectors. |
ignoreAllChk |
Logical, TRUE=disables all warnings and error checks (use with caution!). |
DCM |
Direction cosine matrix or array (DCM). |
Jose Gama
DCMrandom()
DCMrandom(5)