SubscaleExplorer-package | R Documentation |
This package provides quick tools to explore subscales. All functions can perform analyses by group.
Sometimes when working with many variables such as psychometric subscales it is necessary to deal with variable groups to obtain meaningful results. This task is usually hard. This package proposes getscale
, a function that returns a vector that allows doing quick subsets from information specified in an Excel spreadsheet.
First, for quantitative data description we recommend the use of the psych package to obtain descriptive statistics (describeBy
), the mahalanobis distance (outlier
) and mardia's test (mardia
) for multivariate normality. With boxPlot
or violinPlot
a graphical description can be obtained. The violinPlot also includes a boxplot inside.
For ordinal or categorical data, descriptive statistics can be obtained using frequencies
. This function computes frequencies or proportions, with or without missing values. This object can be plotted with freqbubble
. For independent groups use freqbubble
and for two waves measures (or groups) use freqbubbleRepeated
.
uniqueValues
function is best suited for ordinal or categorical data. If used with quantitative data can be difficult to interpret.
Ariadna Angulo-Brunet (ariadna.angulo@uab.cat), Carme Viladrich
psych
, ggplot2
, mice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.