Learn R Programming

whiboclustering (version 0.1.2)

plot_pairs: Plot WhiBo Cluster Representatives

Description

Plot WhiBo Cluster Representatives

Usage

plot_pairs(model, data)

Arguments

model

WhiBo Cluster model.

data

Data used for clustering (optional).

Value

Ploting pairs plot where Cluster representatives are presented with data (if provided).

Examples

Run this code
# NOT RUN {
data <- iris[, 1:4] #Numerical data only

model <- whibo_clustering(data = data, k = 3)
plot_pairs(model) #Ploting Cluster Representatives only

plot_pairs(model, data) #Ploting Cluster Representatives and Data

# }

Run the code above in your browser using DataLab