as_cluster_desc: Describe clusters

Description Usage Arguments Value Examples

View source: R/descriptions.R

Description

Describe clusters

Usage

1
2
3
4
5
as_cluster_desc(
  x,
  return = c("cluster", "super_cluster"),
  super_cluster_details = FALSE
)

Arguments

x

Vector of numeric values ranging from 0 to 21

Value

Labelled "factor"

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
x <- 0:21
# Return clusters (0 to 21)
as_cluster_desc(x)
# Return super clusters (A to C)
as_cluster_desc(x,
                return = "super_cluster")
# Return detailed super clusters
as_cluster_desc(x,
                return = "super_cluster",
                super_cluster_details = TRUE)

CDU-data-science-team/honos documentation built on Nov. 7, 2021, 9:20 p.m.