randomOrthogonalMatrix: Random orthogonal matrix

Description Usage Arguments Value References See Also Examples

View source: R/util.R

Description

Generate a random orthogonal basis matrix of dimension (n x d) using the method in Heiberger (1978).

Usage

1

Arguments

n

the number of rows of the resulting orthogonal matrix.

d

the number of columns of the resulting orthogonal matrix.

Value

An orthogonal matrix of dimension n x d such that each column is orthogonal to the other and has unit lenght.

References

Heiberger R. (1978) Generation of random orthogonal matrices. Journal of the Royal Statistical Society. Series C (Applied Statistics), 27(2), 199-206.

See Also

coordProj

Examples

1
2

Japrin/mclust documentation built on Nov. 18, 2019, 5:21 a.m.