extended_gower: Extended Gower with exceptions

Description Usage Arguments

View source: R/extended_gower.R

Description

Calculate the extended Gower coefficient for archaeometric data sets, considering exceptional values in ordinal variables, using a modified version of dist.ktab.

Usage

1
2
3
extended_gower(data, variable_sets, method = "RRD",
  exception_columns = NULL, exception_values = NULL,
  exception_distance = 0)

Arguments

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.


Andros-Spica/cerUB documentation built on June 9, 2020, 9:22 p.m.