Skip to contents

Coarse and English-only; for reasons with several causes it keeps only the first match in bucket order (misconduct > plagiarism > error > ethical > process). Use reason_buckets() to keep all causes.

Usage

primary_reason_bucket(reason)

Arguments

reason

A character vector of reason strings.

Value

A character vector of primary buckets.

Examples

primary_reason_bucket(c("Fabrication of data", "Duplicate publication", "Unknown"))
#> [1] "misconduct" "plagiarism" "other"