Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/GeometricMappings.R
Calculates the principle angle of each time vector to the reference vector. Note data points are not translated in this function and error checking is not performed!
1 | angle.mapping(X,ref.vec.value=rep(1,length(X[1,])))
|
X |
A matrix containing the centralized data of size n by p. |
ref.vec.value |
A vector containing the reference vector from which the principle angle will be calculated. |
This function calculates the principle angle between each time vector and the reference vector. Note the translation within geomcp
happens outside of the function.
A vector of length n is returned with the angle mapping for each time point.
Thomas Grundy
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.