mdist | R Documentation |
fastmixed
returns Euclidean distances for variables from mixed measurement levels.
mdist(
data,
level = rep("numeric", ncol(data)),
scale = FALSE,
error.check = FALSE
)
data |
an n (objects) by m (variables) numerical data matrix . |
level |
measurement level variables: 1:numerical, 2:ordinal, 3:nominal (default = 1). |
scale |
boolean specifying scaling of distances such that sum-of-squares are n times n. |
error.check |
extensive check validity input parameters (default = FALSE). |
'dist' object with Euclidean distances between objects.
Frank M.T.A. Busing
Busing (2025). A Consistent Distance Measure for Mixed Data: Bridging the Gap between Euclidean and Chi-Squared Distances. Manuscript in progress.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.