plikert: Method to generate a Likert plot using the likert pkg

Description Usage Arguments See Also Examples

View source: R/likertplots.R

Description

Method to generate a Likert plot using the likert pkg

Usage

1
2
3
plikert(items, item_labels = NULL, response_label = "Response",
  xlab = NULL, ylab = "Percent", title = NULL, subtitle = NULL,
  caption = NULL, legend = "right", ...)

Arguments

items

A data-frame or tibble with ordered factors only.

item_labels

A character vector to replace the variable names in the plot

response_label

The label for the legend

xlab

Label for x-Axis

ylab

Label for y-Axis

title

A plot title

subtitle

A plot subtitle

caption

A plot caption

legend

Where the legend is placed ("top", "bottom", "right", "left")

...

additional options passed to plot.likert from likert.options

See Also

likert.options plot.likert

Examples

1
2
data <- data.frame(a = factor(c("a","b","a")), b=factor(c("a", "b", "b")))
plikert(data)

Sumidu/ccscourse documentation built on May 29, 2019, 8:34 a.m.