# userfriendlyscience v0.6-1

Monthly downloads

## Quantitative Analysis Made Accessible

Contains a number of functions that serve
two goals. First, to make R more accessible to people migrating from
SPSS by adding a number of functions that behave roughly like their
SPSS equivalents. Second, to make a number of slightly more
advanced functions more user friendly to relatively novice users. The
package also conveniently houses a number of additional functions that
are intended to increase the quality of methodology and statistics in
psychology, not by offering technical solutions, but by shifting
perspectives, for example towards reasoning based on sampling
distributions as opposed to on point estimates.

## Readme

# userfriendlyscience (UFS)

Userfriendlyscience contains a number of functions that serve two goals. First, to make R more accessible to people migrating from SPSS by adding a number of functions that behave roughly like their SPSS equivalents. Second, to make a number of slightly more advanced functions more user friendly to relatively novice users. The package also conveniently houses a number of additional functions that are intended to increase the quality of methodology and statistics in psychology, not by offering technical solutions, but by shifting perspectives, for example towards reasoning based on sampling distributions as opposed to on point estimates.

The package imports functions from many other packages, which is in line with its function as a 'wrapper package': UFS aims to make many existing functions easier for users coming from SPSS, so sometimes a function is added when it saves the user just some data preparing.

The only publications where the package has been mentioned so far are available at:

Peters, G.-J. Y. (2017). Diamond Plots: a tutorial to introduce a visualisation tool that facilitates interpretation and comparison of multiple sample estimates while respecting their inaccuracy.

*PsyArXiv*, https://doi.org/10.17605/OSF.IO/9W8YVPeters, G.-J. Y. (2014). The alpha and the omega of scale reliability and validity: why and how to abandon Cronbach’s alpha and the route towards more comprehensive assessment of scale quality.

*The European Health Psychologist*, 16, 56–69.Crutzen, R. (2014). Time is a jailer : what do alpha and its alternatives tell us about reliability?

*The European Health Psychologist*, 1(2), 70–74.Crutzen, R., & Peters, G.-J. Y. (2015). Scale quality: alpha is an inadequate estimate and factor-analytic evidence is needed first of all.

*Health Psychology Review*. http://dx.doi.org/10.1080/17437199.2015.1124240

Four more have been submitted for publication and are currently available as preprints at PsyArXiv:

Peters, G.-J. Y. & Crutzen, R. (2017). Knowing exactly how effective an intervention, treatment, or manipulation is and ensuring that a study replicates: accuracy in parameter estimation as a partial solution to the replication crisis. http://dx.doi.org/

Peters, G.-J. Y. & Gruijters, S. (2017). Why your experiments fail: sample sizes required for randomization to generate equivalent groups as a partial solution to the replication crisis. http://dx.doi.org/

Crutzen, R., Peters, G.-J. Y., & Noijen, J. (2017). How to Select Relevant Social-Cognitive Determinants and Use them in the Development of Behaviour Change Interventions? Confidence Interval-Based Estimation of Relevance. http://dx.doi.org/

Gruijters, S., & Peters, G.-J. Y. (2017). Introducing the Numbers Needed for Change (NNC): A practical measure of effect size for intervention research. http://dx.doi.org/

All are (and will be) Open Access. Please cite the manual and/or one of these publications when you use the package.

If you have any questions, you can reach me at gjalt-jorn@userfriendlyscience.com.

## Functions in userfriendlyscience

Name | Description | |

asymmetricalScatterMatrix | asymmetricalScatterMatrix | |

averageFishersZs | averageFishersZs | |

CIBER | Confidence Interval-Based Estimation of Relevance (CIBER) | |

areColors | Check whether elements of a vector are valid colors | |

associationMatrix | associationMatrix | |

associationMatrix Helper Functions | associationMatrix Helper Functions | |

averagePearsonRs | averagePearsonRs | |

basicSPSStranslationFunctions | Basic SPSS translation functions | |

RsqDist | The distribution of R squared (as obtained in a regression analysis) | |

convert.d.to.nnc | Helper functions for Numbers Needed for Change | |

createSigma | createSigma: convenience function for mvrnorm | |

confIntOmegaSq | Confidence intervals for Omega Squared | |

confIntR | A function to compute a correlation's confidence interval | |

detectRareWords | Looking up word frequencies | |

determinantStructure | Determinant Structure specification | |

biAxisDiamondPlot | Diamondplot with two Y axes | |

dCohensd | The distribution of Cohen's d | |

determinantStructure Preprocessing | Functions to preprocess determinant structures | |

diamondPlot | Basic diamond plot construction function | |

escapeRegex | Escapes any characters that would have special meaning in a reqular expression. | |

examine | Examine one or more variables | |

extractVarName | Extract variable names | |

faConfInt | Extract confidence bounds from psych's factor analysis object | |

associationsDiamondPlot | A diamondplot with confidence intervals for associations | |

curfnfinder | Function to find the name of the calling function | |

descr | descr (or descriptives) | |

exceptionalScore | exceptionalScore | |

confIntV | crossTab, confIntV and cramersV | |

convert | conversion functions | |

didacticPlot | didacticPlot | |

dlvPlot | dlvPlot | |

freq | Frequency tables | |

fullFact | fullFact | |

pwr.confIntR | Determine required sample size for a given confidence interval width for Pearson's r | |

pwr.omegasq | Power calculations for Omega Squared. | |

exceptionalScores | exceptionalScores | |

is.nr | is.nr | |

isTrue | isTrue | |

meanDiff.multi | meanDiff.multi | |

ggBoxplot | Box plot using ggplot | |

invertItems | invertItems | |

scaleInspection | scaleInspection and a number of useful helper functions | |

scaleStructure | scaleStructure | |

ggqq | Easy ggplot Q-Q plot | |

importLimeSurveyData | importLimeSurveyData | |

nnc | Numbers Needed for Change | |

normalityAssessment | normalityAssessment and samplingDistribution | |

ggBarChart | Bar chart using ggplot | |

iqrOutlier | Identify outliers according to the IQR criterion | |

oneway | oneway | |

paginatedAsymmetricalScatterMatrix | paginatedAsymmetricalScatterMatrix | |

powerHist | powerHist | |

ggConfidenceCurve | Confidence Curves | |

ggDiamondLayer | Basic ggplot2 diamond plot layer construction functions | |

itemInspection | itemInspection | |

meanDiff | meanDiff | |

oddsratio | oddsratio | |

omegaSqDist | The distribution of Omega Squared | |

userfriendlysciencePrintMethods | userfriendlyscience print methods | |

meanSDtoDiamondPlot | A diamond plot based on means, standard deviations, and sample sizes | |

processLimeSurveyDropouts | processLimeSurveyDropouts | |

processOpenSesameIAT | processOpenSesameIAT | |

testRetestCES | testRetestCES | |

processLSvarLabels | A function to conveniently process LimeSurvey labels | |

rMatrix | rMatrix | |

randomizationSuccess | Computations for successful randomization | |

scatterMatrix | scatterMatrix | |

factorLoadingDiamondCIplot | Two-dimensional visualisation of factor analyses | |

formatCI | Pretty formatting of confidence intervals | |

ggNNC | Visualising Numbers Needed for Change | |

ggPie | A ggplot pie chart | |

userfriendlysciencePanderMethods | userfriendlyscience methods to pander objects | |

posthocTGH | posthocTGH | |

removeExceptionalValues | removeExceptionalValues | |

rnwString | rnwString functions | |

prevalencePower | Power analysis for establishing a prevalence | |

regr | regr: a simple regression analysis wrapper | |

regrInfluential | Detecting influential cases in regression analyses | |

showPearsonPower | Visualisation of the power of a Pearson correlation test | |

simDataSet | simDataSet | |

sort.associationMatrix | sort.associationMatrix | |

testRetestAlpha | testRetestAlpha | |

userfriendlyscience-package | Userfriendlyscience | |

userfriendlyscienceBasics | userfriendlyscience basics | |

meansComparisonDiamondPlot | meansComparisonDiamondPlot and duoComparisonDiamondPlot | |

meansDiamondPlot | Diamond plots | |

scaleDiagnosis | scaleDiagnosis | |

scaleDiagnosisToPDF | scaleDiagnosisToPDF | |

setCaptionNumbering | Convenience function for numbered captions in knitr (and so, RMarkdown) | |

setFigCapNumbering | Automatic caption numbering knitr hooks for figures and tables | |

testRetestSimData | testRetestSimData is a simulated dataframe used to demonstrate the testRetestAlpha coefficient function. | |

therapyMonitor | therapyMonitor & therapyMonitor.multi | |

testRetestReliability | testRetestReliability | |

scatterPlot | Easy ggplot2 scatter plots | |

No Results! |

## Last month downloads

## Details

Type | Package |

Date | 2017-05-01 |

License | GPL (>= 2) |

URL | http://userfriendlyscience.com |

NeedsCompilation | no |

Packaged | 2017-05-09 15:43:23 UTC; micro |

Repository | CRAN |

Date/Publication | 2017-05-09 21:16:58 UTC |

imports | car , data.tree , DiagrammeR , diptest , fBasics , GGally , ggplot2 , ggrepel , GPArotation , grDevices , grid , gridExtra , gtable , knitr , lavaan , MASS , MBESS , mosaic , pander , plyr , psych , pwr , RColorBrewer , rio , scales , SCRT , stats , SuppDists , utils , XML , xtable |

Contributors | Gjalt-Jorn Peters |

#### Include our badge in your README

```
[![Rdoc](http://www.rdocumentation.org/badges/version/userfriendlyscience)](http://www.rdocumentation.org/packages/userfriendlyscience)
```