View source: R/extended_gower.R
Calculate the extended Gower coefficient for archaeometric data sets,
considering exceptional values in ordinal variables, using a modified version
of dist.ktab
.
1 2 3 | extended_gower(data, variable_sets, method = "RRD",
exception_columns = NULL, exception_values = NULL,
exception_distance = 0)
|
data |
Data frame containing ordinal variables and optionally compositional data (log-ratios). |
variable_sets |
List containing vectors with the numeric index of variables of different kind. |
method |
Character, "NI" for neighbour interexchange, "RRD" for relative ranking difference, "MM" for mixed mode. |
exception_columns |
Numeric, the vector of variables names to be searched for exceptions. |
exception_values |
Numeric, the value to be set with distance. |
exception_distance |
Numeric, the index of the variable to be used as divisor in additive log-ratio transformation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.