plotRCI: display a plot of the obtained reliable change indices

Description Usage Arguments Value Examples

View source: R/plotRCI.R

Description

This function plotsdata stored in the JTRCIdf dataframe that is outputted by the JTRCI() function. When JTRCI() is run with it's default value 'plot = T', it will call upon either plotRCI() or plotJT() to create a plot. plotRCI() and plotJT() can also be called directly by the user to output plots after having obtained the JTRCIdf (by running JTRCI())

Usage

1
2
3
plotRCI(data = JTRCIdf, addInfoLegend = c("yes", "no"),
  useGroups = F, facetplot = F, addJitter = F, xlab = "pre",
  ylab = "post", plottitle = "reliable change plot")

Arguments

data

The data to use, default is JTRCIdf.

addInfoLegend

choice of "yes" or "no": if yes a count of observations within each RCI class (or within each class and group) will be added to the plot legend

useGroups

logical. If 'useGroups = T', dots are shaped and counts are given according seperately for each level of the group variable originally provided in the call to JTRCI()

facetplot

logical. If 'facetplot = T', different groups are plotted in separate facets

addJitter

logical. If 'addJitter = T', a small amount of random jitter is added to the plot

xlab

label to use for the x-axis

ylab

label to use for the y-axis

plottitle

title to show at the top of the plot

Value

a plot showing reliable change indices

Examples

1
plotRCI(xlab = "score pre", ylab = "score post", plottitle = "my reliable change plot", useGroups = F)

AWKruijt/JT-RCI documentation built on July 9, 2019, 3:54 p.m.