Description Usage Arguments Value
Generate either correlation, l1 or l2 distance, from feature(s)
1 | genSimDiff(datasetName, featureCols, allPairwise, pairColNums, measure)
|
datasetName |
name of data containing individual information |
featureCols |
column(s) containing features that correlation, l1 or l2 distance are to be computed for |
allPairwise |
name of data frame containing all pairwise comparisons. This needs to have at least two columns, one representing the first item in the comparison, and one representing the second item. |
pairColNums |
vector of length 2 indicating the column numbers of 1. item 1 in comparison, 2. item 2 in comparison |
measure |
either "correlation", "l2dist" or "l1dist" |
allPairwise with an additional column, either "correlation", "l2dist" or "l1dist"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.