EMIlikertPlot: EMI Likert Plot

Description Usage Arguments Value Examples

Description

EMIlikert(): function to make an EMI color formatted likert plot

Usage

1
EMIlikertPlot(df, likertcols, group = NULL, ...)

Arguments

df

is a dataframe with likert responses as columns; can contain other data: caseids and groups (like type)

likertcols

is a vector of columns of likert responses to plot

group

is a column in the data referring to groups

...

variables passed to col.strip.background

Value

a dataframe object with the ID, code, name, start date, end dte, and health of each project

Examples

1
2
3
4
5
mydf = data.frame(group = rep(1:3, each = 10),
                  Q1 = factor(sample(1:5, 30, replace = TRUE)),
                  Q2 = factor(sample(1:5, 30, replace = TRUE)))
my_likert_plot <- EMIlikertPlot(mydf, 2:3)
my_likert_plot

mnblonsky/REMI documentation built on May 23, 2019, 5:06 a.m.