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 June 13, 2025, 10:31 a.m.