Calculates the Euclidean distance of each time vector to the reference vector. Note data points are not translated in this function and error checking is not performed!
A vector of length n is returned with the distance mapping for each time point.
Arguments
X
A matrix containing the centralized data of size n by p.
ref.vec.value
A vector containing the reference vector from which the euclidean distance will be calculated.
Author
Thomas Grundy
Details
This function calculates the Euclidean distance between each time vector and the reference vector. Note the translation within geomcp happens outside of the function.