View source: R/util_parse_assignments.R
util_parse_assignments | R Documentation |
This function parses labels & level assignments in the format
1 = male | 2 = female
. The function also handles m = male | f = female
,
but this would not match the metadata concept. The split-character can
be given, if not the default from SPLIT_CHAR is to be used, but this
would also violate the metadata concept.
util_parse_assignments(
text,
split_char = SPLIT_CHAR,
multi_variate_text = FALSE
)
text |
Text to be parsed |
split_char |
Character separating assignments |
multi_variate_text |
don't paste text but parse element-wise |
the parsed assignments as a named list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.