Skip to contents

Calculates the Gower distance for a given matrix

Usage

rs_gower_dist(x, is_cat)

Arguments

x

Numerical matrix. Converted matrix of continuous and categorical variables as numerical values.

is_cat

Boolean. Which of the columns represent categorical values.

Value

The Gower distance matrix between the rows