likert_from_items | R Documentation |
Pass a data.frame containing several items composing one scale, get a
likert::likert()
object, which you can plot.
Intelligently makes use of labels and value labels if present.
likert_from_items(items)
items |
a data frame of items composing one scale |
data("bfi", package = "codebook")
open_items <- paste0("BFIK_open_",1:4)
graphics::plot(likert_from_items(bfi[, open_items]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.