Learn R Programming

tna (version 1.5.8)

print.tna_clustering: Print the Results of Clustering

Description

Print the Results of Clustering

Usage

# S3 method for tna_clustering
print(x, ...)

Value

x (invisibly).

Arguments

x

A tna_clustering object.

...

Additional arguments passed to the generic print method.

See Also

Cluster-related functions cluster_data(), communities(), group_model(), mmm_stats(), rename_groups()

Examples

Run this code
data <- data.frame(
  T1 = c("A", "B", "A", "C", "A", "B"),
  T2 = c("B", "A", "B", "A", "C", "A"),
  T3 = c("C", "C", "A", "B", "B", "C")
)

# PAM clustering with the Hamming distance (the defaults)
result <- cluster_sequences(data, k = 2)
print(result)

Run the code above in your browser using DataLab