Describe clusters

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

x <- 0:21 as_cluster_desc(x)
#> [1] Care Cluster 0: Variance #> [2] Care Cluster 1: Common mental health problems (Low severity) #> [3] Care Cluster 2: Common mental health problems (Low severity with greater need) #> [4] Care Cluster 3: Non-psychotic (Moderate severity) #> [5] Care Cluster 4: Non-psychotic (Severe) #> [6] Care Cluster 5: Non-psychotic disorders (Very severe) #> [7] Care Cluster 6: Non-psychotic disorder of over-valued ideas #> [8] Care Cluster 7: Enduring non-psychotic disorders (High disability) #> [9] Care Cluster 8: Non-psychotic chaotic and challenging disorders #> [10] Care Cluster 9: Blank cluster #> [11] Care Cluster 10: First episode psychosis (With / without manic features) #> [12] Care Cluster 11: Ongoing recurrent psychosis (Low symptoms) #> [13] Care Cluster 12: Ongoing or recurrent psychosis (High disability) #> [14] Care Cluster 13: Ongoing or recurrent psychosis (High symptom and disability) #> [15] Care Cluster 14: Psychotic crisis #> [16] Care Cluster 15: Severe psychotic depression #> [17] Care Cluster 16: Psychosis and affective disorder (High substance misuse and engagement) #> [18] Care Cluster 17: Psychosis and affective disorder – difficult to engage #> [19] Care Cluster 18: Cognitive impairment (Low need) #> [20] Care Cluster 19: Cognitive impairment or dementia complicated (Moderate need) #> [21] Care Cluster 20: Cognitive impairment or dementia complicated (High need) #> [22] Care Cluster 21: Cognitive impairment or dementia (High physical or engagement) #> 22 Levels: Care Cluster 0: Variance ...
as_cluster_desc(x, return = "super_cluster")
#> [1] <NA> A: Non-psycotic A: Non-psycotic A: Non-psycotic #> [5] A: Non-psycotic A: Non-psycotic A: Non-psycotic A: Non-psycotic #> [9] A: Non-psycotic A: Non-psycotic B: Psychosis B: Psychosis #> [13] B: Psychosis B: Psychosis B: Psychosis B: Psychosis #> [17] B: Psychosis B: Psychosis C: Organic C: Organic #> [21] C: Organic C: Organic #> Levels: A: Non-psycotic B: Psychosis C: Organic
as_cluster_desc(x, return = "super_cluster", super_cluster_details = TRUE)
#> [1] <NA> #> [2] A: Non-psycotic (Very severe and complex #> [3] A: Non-psycotic (Very severe and complex #> [4] A: Non-psycotic (Very severe and complex #> [5] A: Non-psycotic (Very severe and complex #> [6] A: Non-psycotic (Mild, moderate, or severe) #> [7] A: Non-psycotic (Mild, moderate, or severe) #> [8] A: Non-psycotic (Mild, moderate, or severe) #> [9] A: Non-psycotic (Mild, moderate, or severe) #> [10] A: Non-psycotic (Blank place marker) #> [11] B: Psychosis (First episode) #> [12] B: Psychosis (Ongoing or recurrent) #> [13] B: Psychosis (Ongoing or recurrent) #> [14] B: Psychosis (Ongoing or recurrent) #> [15] B: Psychosis (Psychotic crisis) #> [16] B: Psychosis (Psychotic crisis) #> [17] B: Psychosis (Very severe engagement) #> [18] B: Psychosis (Very severe engagement) #> [19] C: Organic (Cognitive impairment) #> [20] C: Organic (Cognitive impairment) #> [21] C: Organic (Cognitive impairment) #> [22] C: Organic (Cognitive impairment) #> 8 Levels: A: Non-psycotic (Blank place marker) ...