is_multiple: Predicates to detect and flag duplicated and multiple values of a variable.
Description
is_multiple() and is_duplicated() return TRUE if they detect,
respectively, multiple different values of a variable (e.g. c(1, 2)), or duplicated values of a variable (e.g. c(1, 1)).
Usage
is_multiple(.data)
is_duplicated(.data)
Value
Logical.
Arguments
.data
A vector.
See Also
Other functions for internal use in other fgeo packages:
flag_if(),
guess_plotdim()
Other functions to check inputs:
check_crucial_names(),
flag_if_group()
Other functions for developers:
check_crucial_names(),
extract_insensitive(),
flag_if_group(),
nms_try_rename(),
rename_matches(),
type_ensure()