# Set data ####
# Not Cluster
czek = czek_matrix(mtcars)
# Exact Clustering
czek_exact = czek_matrix(mtcars, order = "GW", cluster = TRUE, num_cluster = 2, min.size = 2)
# Fuzzy Clustering
czek_fuzzy = czek_matrix(mtcars, order = "OLO", cluster = TRUE, num_cluster = 2,
cluster_type = "fuzzy", min.size = 2, scale_bandwidth = 0.2)
# Standard plot ############
plot(czek_exact)
plot.czek_matrix(czek_fuzzy)
# Edit diagram title
plot(czek, plot_title = "mtcars", cex.main = 2)
# Change point size ############
# Specify values
plot(czek, values = c(1, 0.8, 0.5, 0.2, 0))
plot(czek, values = grDevices::colorRampPalette(c("black", "red", "white"))(5))
# set point size for 'symbols' type by setting power value
plot(czek, type = "symbols", ps_power = 1)
# set point size for 'col' type
plot(czek, type = "col", col_size = 0.6)
# Specify type ############
plot(czek, type = "symbols")
plot(czek, type = "col")
# Edit cluster ############
# Edit colors
plot(czek_exact, pal = c("red", "blue"))
# Edit opacity
plot(czek_exact, alpha = 0.5)
Run the code above in your browser using DataLab