plot.disto {disto} | R Documentation |
Various plotting options for subsets of disto objects
## S3 method for class 'disto'
plot(x, ...)
x |
object of class disto |
... |
Additional arguments. See details. |
Among the additional arguments,
'type: is mandatory. Currently, these options are supported: heatmap, dendrogram.
sampleSize: A random sample of indexes is drawn from the distance object underlyting the disto mapping. Default value of sampleSize is set to 100.
seed seed for random sample. Default is 100.
ggplot object
temp <- stats::dist(iris[,1:4])
dio <- disto(objectname = "temp")
plot(dio, type = "heatmap")
plot(dio, type = "dendrogram")