R function daisy() from package cluster

What are crx and crx_frame? Can you please provide a REPRoducible EXample of your problem? It provides more specifics of your problem, and it helps others to understand what problem you are facing.

If you don't know how to do it, take a look at this thread:

I tried with iris, and the results seem to be fine.


Dist <- daisy(x = iris,
              metric = "gower")

Dist_mat <- as.matrix(x = Dist)

image(x = Dist_mat)

image(x = 1:nrow(x = Dist_mat),
      y = 1:ncol(x = Dist_mat),
      z = Dist_mat,
      axes = FALSE,
      xlab = "",
      ylab = "",
      col = rainbow(n = 100))

Created on 2019-05-23 by the reprex package (v0.3.0)

1 Like