allPairs | R Documentation |
This is a crude little function to try to estimate all (N^2-N)/2 combinations of different measurements done on a single person. (Or (N^2-N), if doubled.)
Note that the code is built on the assumption that a "person" and "measurement" identifier are the first two columns of your dataset.
allPairs(pmRatingData)
data |
The data that will be transformed
(should be in |
a dataframe where all possible pairwise combinations of different measurements are given on separate lines
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.