Description Usage Arguments Details Value See Also Examples
This function will provide various statistics about a set of likert items. The resulting object will have the following items:
1 2 |
items |
data frame containing the likert based items. The variables in the data frame should be factors. |
summary |
a pre-summarized data frame. The first column must be the items and the remaining columns are the levels (e.g. strongly disagree, disagree, etc). |
grouping |
(optional) should the results be summarized by the given grouping variable. |
importance |
a data frame of the same dimensions as items containing an importance rating for each item. The order of columns should match and the names from items will be used. |
nlevels |
number of possible levels. Only necessary if there are missing levels. |
results
- this data frame will
contain a column 'Item', 'Group' (if a grouping variable
was specified, and a column for each level of the items
(e.g. agree, disagree, etc.). The value within each cell
corresponds to the percentage of responses for that level
and group.
items
- a copy of the original
items data frame.
grouping
- a copy of the
original grouping vector.
nlevels
- the
number of levels used in the calculations.
a likert class with the following elements: results, items, grouping, nlevels, and summary.
plot.likert
summary.likert
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.