Description Usage Arguments Author(s) Examples
Takes vectors representing likert scales and cleans text descriptions.
E.g. "10 Very happy" becomes "10", and the value is converted to numeric
(without warning).
1 |
var |
A |
Kristian D. Olsen
1 2 | x <- clean_scale(c("1 Not happy", "10 Very happy", "11 Don't know"))
identical(x, c(1, 10, NA))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.