check_formation: Check if the formation is valid

View source: R/check_formation.R

check_formationR Documentation

Check if the formation is valid

Description

Check if the formation is valid

Usage

check_formation(formation, na_is_ok = FALSE)

Arguments

formation

the K3 formation, in three, alphabettically ordered uppercase characters, e.g HKM for the third formation

na_is_ok

boolean to indicate if NA is accepted

Examples

check_formation("KKK")
check_formation("JKK")
check_formation("HKM")
check_formation(NA, na_is_ok = TRUE)

richelbilderbeek/K3Reviews documentation built on July 16, 2025, 1:03 p.m.