ufs v0.2.0


Monthly downloads



Quantitative Analysis Made Accessible

This is a new version of the 'userfriendlyscience' package, which has grown a bit unwieldy. Therefore, distinct functionalities are being 'consciously uncoupled' into different packages. This package contains the general-purpose tools and utilities (see the 'behaviorchange' and the 'rosetta' packages for other functionality), and is the most direct 'successor' of the original 'userfriendlyscience' package. For example, this package contains a number of basic functions to create higher level plots, such as diamond plots, to easily plot sampling distributions, to generate confidence intervals, to plan study sample sizes for confidence intervals, and to do some basic operations such as (dis)attenuate effect size estimates.



ufs: A leaner, cleaner version of the userfriendlyscience package

Travis build status

Functions in ufs

Name Description
cohensdCI The distribution of Cohen's d
cramersV Cramer's V and its confidence interval
faConfInt Extract confidence bounds from psych's factor analysis object
noZero Remove one or more zeroes before the decimal point
ggBarChart Bar chart using ggplot
confIntR A function to compute a correlation's confidence interval
multiVarFreq Generate a table collapsing frequencies of multiple variables
convert conversion functions
extractVarName Extract variable names
getData Basic SPSS translation functions
is.odd Checking whether numbers are odd or even
convertToNumeric Conveniently convert vectors to numeric
confIntOmegaSq Confidence intervals for Omega Squared
areColors Check whether elements of a vector are valid colors
convert.d.to.nnc Helper functions for Numbers Needed for Change
diamondPlot Basic diamond plot construction function
formatCI Pretty formatting of confidence intervals
ggEasyBar Convenience functions for ggplots based on multiple variables
factorLoadingDiamondCIplot Two-dimensional visualisation of factor analyses
duoComparisonDiamondPlot meansComparisonDiamondPlot and duoComparisonDiamondPlot
ifelseObj Conditional returning of an object
confIntProp Confidence intervals for proportions, vectorized over all arguments
disattenuate.d Disattentuate a Cohen's d estimate for unreliability in the continuous variable
disattenuate.r Disattentuate a Pearson's r estimate for unreliability
is.nr NULL and NA 'proof' checking of whether something is a number
meanConfInt A confidence interval for the mean
meanSDtoDiamondPlot A diamond plot based on means, standard deviations, and sample sizes
meansDiamondPlot Diamond plots
vecTxt Easily parse a vector into a character value
ggProportionPlot Sample distribution based plotting of proportions
pomegaSq The distribution of Omega Squared
repeatStr Repeat a string a number of times
multiResponse Generate a table for multiple response questions
isTrue More flexible version of isTRUE
formatPvalue Pretty formatting of p values
formatR Pretty formatting of correlation coefficients
safeRequire Load a package, install if not available
makeScales Title
massConvertToNumeric Converting many dataframe columns to numeric
sharedSubString sharedSubString
biAxisDiamondPlot Diamondplot with two Y axes
associationsDiamondPlot A diamondplot with confidence intervals for associations
cat0 Concatenate to screen without spaces
attenuate.d Attenuate a Cohen's d estimate for unreliability in the continuous variable
attenuate.r Attenuate a Pearson's r estimate for unreliability in the measurements
diamondCoordinates Basic ggplot2 diamond plot layer construction functions
computeStatistic_t associationMatrix Helper Functions
%IN% Case insensitive version of %in%
associationMatrix associationMatrix
No Results!

Last month downloads


Type Package
Date 2019-02-11
License GPL (>= 3)
URL https://ufs.opens.science
BugReports https://github.com/matherion/ufs/issues
Encoding UTF-8
LazyData true
RoxygenNote 6.1.1
NeedsCompilation no
Packaged 2019-02-12 10:34:20 UTC; micro
Repository CRAN
Date/Publication 2019-02-12 13:10:03 UTC

Include our badge in your README