plotSumScores: Plot Sum Scores

Description Usage Arguments Value Examples

View source: R/plotSumScores.R

Description

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'.

Usage

1
plotSumScores(sum_scores_long, perturbation_type)

Arguments

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().

Value

A list containing ggplot line graph object called sumScoresPlot and a data.table containing the data points that are plotted, including 95

Examples

1
# plotSumScores(sum_scores_long = LongFormatSumScoreDataframe)

JasperNaberman/nodeIdentifyR documentation built on July 7, 2021, 2:15 a.m.