Description Usage Arguments Value
View source: R/correlationCalculationFunctions.R
Calculates the pair-wise correlations between all vectors in a velocity field. A vector can be provided to allow within- and between-group comparisons (not implemented). Vectors can be subsampled to deal with quadratic memory complexity of calculating pair-wise correlations.
1 | getPairwiseCorrelations(frameData, memoryMaxVectors = 3000)
|
frameData |
a N-by-5 data frame storing N velocity vectors with column names R, C, u, v, and Frame. |
memoryMaxVectors |
the number of vectors to subset the data frame by in order to avoid memory issues. |
The pairwise velocity, direction, and speed correlation for all pairs of vectors found in frameData
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.