Description Usage Arguments Details Value Author(s)
View source: R/occurenceIndex.R
This function calculates the dissimilarity index based on the (inverse) occurence index
1 2  | occurenceIndex(dat, key = NULL, weights, simm = FALSE,
  inverse = TRUE)
 | 
dat | 
 the data  | 
key | 
 a character representing the unique key name for observations. For example, this could contain the name of patients in a health dataset.  | 
weights | 
 a character variable representing the name of the variable associated with the survey weights  | 
simm | 
 logical indicating whether a similarity should be returned  | 
inverse | 
 parameter indicating whether to return the inverse occurence frequency or the occurence frequency  | 
This calculates the pairwise dissimilarities for a dataset using the (inverse) occurence dissimilarity index
A matrix of pairwise dissimilarities
Joshua Agterberg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.