spec2props | R Documentation |
Splits each element of x
along both |
and _
to create a character vector of single constituent
properties, removes any blank values, reduces the result to unique values, converts all remaining values to
lowercase, and sorts the remaining values.
spec2props(x)
x |
A character vector |
Either NULL
or a non-empty character vector of unique, sorted, lowercase, 3-character values.
Returns NULL
if any of the following criteria are met:
x
is not of mode 'character'
.
Any resulting value is NA
.
Any resulting value is not a 3-character string.
x
resolves to a zero-length character vector.
Other utils:
check_valid()
,
combo2props()
,
meets_errs()
,
spec2combos()
,
stack2funs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.