Description Usage Arguments Value Examples
View source: R/plotSumScores.R
Plots the inputted sum scores data.frames as a lineplot with confidence intervals and also returns the plotted values. Orders the plot based on value and inputted 'perturbation_type'.
1 | plotSumScores(sum_scores_long, perturbation_type)
|
sum_scores_long |
a data.frame containing sum scores |
perturbation_type |
a string specifying a perturbation direction. Choose between "aggravating" (+) and "alleviating" (-). Should be equal to the argument passed to simulateReponses(). |
A list containing ggplot line graph object called sumScoresPlot and a data.table containing the data points that are plotted, including 95
1 | # plotSumScores(sum_scores_long = LongFormatSumScoreDataframe)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.