Skip to contents

Check if a value is a valid Geboes score

Usage

assert_geboes_score(x, all_categories = FALSE)

Arguments

x

A character vector of Geboes score grades

all_categories

Must x include all categories exactly once?

Value

x, if the values are valid; an error otherwise