userfriendlyscience v0.7.1

0

Monthly downloads

0th

Percentile

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 (also see <http://rosettastats.com>). 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)

CRAN version badge Monthly downloads badge Total downloads badge Documentation badge Travis-CI Build Status codecov

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 (also see http://rosettastats.com). 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:

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://osf.io/cjsk2/

  • 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://osf.io/38vfn/

  • 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://osf.io/5gnmz/

  • Gruijters, S., & Peters, G.-J. Y. (2017). Introducing the Numbers Needed for Change (NNC): A practical measure of effect size for intervention research. http://osf.io/2bau7/

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
associationMatrix associationMatrix
CIBER Confidence Interval-Based Estimation of Relevance (CIBER)
processLimeSurveyDropouts processLimeSurveyDropouts
testRetestReliability testRetestReliability
rMatrix rMatrix
testRetestAlpha testRetestAlpha
basicSPSStranslationFunctions Basic SPSS translation functions
associationMatrix Helper Functions associationMatrix Helper Functions
biAxisDiamondPlot Diamondplot with two Y axes
determinantStructure Determinant Structure specification
showPearsonPower Visualisation of the power of a Pearson correlation test
averageFishersZs averageFishersZs
removeExceptionalValues removeExceptionalValues
determinantStructure Preprocessing Functions to preprocess determinant structures
faConfInt Extract confidence bounds from psych's factor analysis object
Singh Verbal and physical aggression scores from Singh et al. (2007)
testRetestSimData testRetestSimData is a simulated dataframe used to demonstrate the testRetestAlpha coefficient function.
facComAnalysis Wrapper for psych's factor analysis and principal components analysis functions
confIntR A function to compute a correlation's confidence interval
freq Frequency tables
averagePearsonRs averagePearsonRs
confIntV crossTab, confIntV and cramersV
scatterMatrix scatterMatrix
RsqDist The distribution of R squared (as obtained in a regression analysis)
convert conversion functions
fullFact fullFact
ggPie A ggplot pie chart
convert.d.to.nnc Helper functions for Numbers Needed for Change
descr descr (or descriptives)
detectRareWords Looking up word frequencies
ggProportionPlot Sample distribution based plotting of proportions
createSigma createSigma: convenience function for mvrnorm
multiResponse Generate a table for multiple response questions
curfnfinder Function to find the name of the calling function
factorLoadingDiamondCIplot Two-dimensional visualisation of factor analyses
findShortestInterval Find the shortest interval
multiVarFreq Generate a table collapsing frequencies of multiple variables
formatCI Pretty formatting of confidence intervals
fanova Flexible anova
ggBarChart Bar chart using ggplot
ggEasyPlots Convenience functions for ggplots based on multiple variables
scaleDiagnosisToPDF scaleDiagnosisToPDF
posthocTGH posthocTGH
powerHist powerHist
ggNNC Visualising Numbers Needed for Change
randomizationSuccess Computations for successful randomization
is.nr is.nr
associationsDiamondPlot A diamondplot with confidence intervals for associations
userfriendlyscience-package Userfriendlyscience (UFS)
isTrue isTrue
regr regr: a simple regression analysis wrapper
ggBoxplot Box plot using ggplot
pwr.confIntR Determine required sample size for a given confidence interval width for Pearson's r
scaleDiagnosis scaleDiagnosis
setCaptionNumbering Convenience function for numbered captions in knitr (and so, RMarkdown)
areColors Check whether elements of a vector are valid colors
confIntOmegaSq Confidence intervals for Omega Squared
scaleInspection scaleInspection and a number of useful helper functions
itemInspection itemInspection
asymmetricalScatterMatrix asymmetricalScatterMatrix
checkDataIntegrity Conveniently checking data integrity
scaleStructure scaleStructure
meanDiff.multi meanDiff.multi
knitFig Easily knit a custom figure fragment
dCohensd The distribution of Cohen's d
meanSDtoDiamondPlot A diamond plot based on means, standard deviations, and sample sizes
dlvPlot dlvPlot
prevalencePower Power analysis for establishing a prevalence
escapeRegex Escapes any characters that would have special meaning in a reqular expression.
testRetestCES testRetestCES
userfriendlysciencePrintMethods userfriendlyscience print methods
exceptionalScores exceptionalScores
pwr.omegasq Power calculations for Omega Squared.
confIntProp Confidence intervals for proportions, vectorized over all arguments
extractVarName Extract variable names
diamondPlot Basic diamond plot construction function
scatterPlot Easy ggplot2 scatter plots
nnc Numbers Needed for Change
didacticPlot didacticPlot
genlog Generalized Logistic Analysis
validComputations Only compute means or sums for cases with enough nonmissings
examine Examine one or more variables
ggConfidenceCurve Confidence Curves
exceptionalScore exceptionalScore
ggDiamondLayer Basic ggplot2 diamond plot layer construction functions
normalityAssessment normalityAssessment and samplingDistribution
ggqq Easy ggplot Q-Q plot
genlogFunction Generalized Logistic Function
invertItems invertItems
importLimeSurveyData importLimeSurveyData
userfriendlysciencePanderMethods userfriendlyscience methods to pander objects
iqrOutlier Identify outliers according to the IQR criterion
logRegr Userfriendly wrapper to do logistic regression in R
meanDiff meanDiff
meansComparisonDiamondPlot meansComparisonDiamondPlot and duoComparisonDiamondPlot
oneway oneway
piecewiseRegr Piecewise regression analysis
processLSvarLabels A function to conveniently process LimeSurvey labels
meansDiamondPlot Diamond plots
oddsratio oddsratio
omegaSqDist The distribution of Omega Squared
rnwString rnwString functions
processOpenSesameIAT processOpenSesameIAT
paginatedAsymmetricalScatterMatrix paginatedAsymmetricalScatterMatrix
regrInfluential Detecting influential cases in regression analyses
reliability Reliability function similar to the SPSS RELIABILITY command
sharedSubString sharedSubString
setFigCapNumbering Automatic caption numbering knitr hooks for figures and tables
therapyMonitor therapyMonitor & therapyMonitor.multi
simDataSet simDataSet
therapyMonitorData Data originally published with therapyMonitor
sort.associationMatrix sort.associationMatrix
userfriendlyscienceBasics userfriendlyscience basics
No Results!

Last month downloads

Details

Include our badge in your README

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