Description
dilation
returns dilation or scale factor,
such that || factor * source - target ||^2_weights is minimal.
Usage
dilation(source, weights = NULL, target = NULL, error.check = FALSE)
Arguments
- source
n x m source matrix
- weights
weights matrix, size n
- target
if NULL: rotate source to principal axes; otherwise: rotate source to n x m target
- error.check
extensive check validity input parameters (default = FALSE).
Author
Frank M.T.A. Busing
References
Gower (1968).
Commandeur (1991)