View source: R/deprecated_rename_item.R
rename_items_deprecated | R Documentation |
Rename items based on dic information.
rename_items_deprecated(
data,
pattern = "item_label",
chars = NULL,
char_sep = "_",
char_weight = c("(-)", "(+)"),
char_prefix_label = ": "
)
data |
A data frame |
pattern |
A character string or vector of character strings defining a prefix. May include the name of any dic attribute (e.g."item_label", "scale", "subscale", "subscale_2") or some shortcuts: "reverse", "label", or "name"). |
chars |
If not NULL, only the first n chars og the long label will be applied. |
char_sep |
Character with separator between prefix information. |
char_weight |
Character vector of length two with signs for negative and positive weights. |
char_prefix_label |
deprecated |
A renamed data frame
ex_itrf |>
rename_items(pattern = c("reverse", "label")) |>
names()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.