Description Usage Arguments Value Examples
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())
1 2 3 |
data |
dataframe to use, default is JTRCIdf. |
addInfoLegend |
choice of "yes", "classcounts", "JTcrit" or "no": if "yes" (default) both a count of observations within each JT class (or within each class and group) and the type and value of the JT criterion will be added to the plot legends. If "classcounts", only the counts will be added, if "JTcrit" only the criterion-information will be added, and if "no", no additional information will be displayed in the legends. |
useGroups |
logical. If 'useGroups = T', dots are given different shapes, and counts are given 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 each data point in 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. |
a plot showing Jacobson-Truax indices.
1 | plotJT(xlab = "score pre", ylab = "score post", plottitle = "my JT plot", useGroups = F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.