Description Usage Arguments Value

View source: R/forClustering.R

Generate binary column representing links between pairs, given dendrogram and cut specification

1 | ```
makeLinkCol(allPairwise, pairColNums, htree, numClust, linkage)
``` |

`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 |

`htree` |
tree (dendrogram) after hierarchical clustering, returned by 'getHcluster' |

`numClust` |
number of desired clusters in clustering, can be a number from 1 to n, where n is the number of items to be clustered |

`linkage` |
one of "single", "complete", "average", "centroid", "minimax" |

binary vector representing whether links exist between pairs in 'allPairwise'

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.