extended.matching.coefficient | R Documentation |
Extended matching coefficient
extended.matching.coefficient(X)
X |
a data frame containing the categorical variables used for computing the EMC distance |
a dist object
mtdf <- as.data.frame(mtcars)
mtdf$cyl <- factor(mtdf$cyl)
mtdf$vs <- factor(mtdf$vs)
mtdf$am <- factor(mtdf$am)
mtdf$gear <- factor(mtdf$gear)
mtdf$carb <- factor(mtdf$carb)
extended.matching.coefficient(mtdf[,8:11])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.