Skip to contents

Measures of category clustering of recall sequences.

Usage

category_clustering(data, category_key)

Arguments

data

Merged study and recall data.

category_key

Name of column with category labels.

Value

Results with subject, lbc, and arccolumns. Thelbc`` column indicates the list-based clustering measure. The arc column contains the adjusted ratio of clustering measure.

Examples

# Get lists with a mixture of categories
raw <- sample_data("Morton2013")
mixed <- raw[raw$list_type == "mixed", ]

# Calculate category clustering measures
data <- merge_free_recall(mixed, list_keys = list("category"))
stats <- category_clustering(data, "category")
head(stats)
#>   subject      lbc       arc
#> 1       1 3.657971 0.6145451
#> 2       2 2.953623 0.4078391
#> 3       3 3.363768 0.6273712
#> 4       4 4.444928 0.6887610
#> 5       5 7.530435 0.8737552
#> 6       6 4.482609 0.7239257