A Collection of Utilities
Vargha & Delaney's A
Sample size for accuracy: d
Sample size for accuracy: r
Check whether elements of a vector are valid colors
Absolute Relative Risk and confidence interval
associationMatrix
associationMatrix Helper Functions
A diamondplot with confidence intervals for associations
Attenuate a Cohen's d estimate for unreliability in the continuous var...
Attenuate a Pearson's r estimate for unreliability in the measurements
Bland-Altman Change plot
Basic ggplot2 diamond plot layer construction functions
25 Personality items representing 5 factors
Diamondplot with two Y axes
Compute diagnostics for careless responding
A report to help diagnosing careless responders
Concatenate to screen without spaces
Conveniently checking data integrity
Check for presence of a package
Conceptual Independence Matrix
The distribution of Cohen's d
meansComparisonDiamondPlot and duoComparisonDiamondPlot
Effect Size Confidence Interval: Cohens's d
Confidence intervals for Omega Squared
Confidence intervals for proportions, vectorized over all arguments
A function to compute a correlation's confidence interval
Effect Size Confidence Interval: Pearson's r
Confidence interval for standard deviation
Convert Cohen's d to U3
conversion functions
Conveniently convert vectors to numeric
Cramer's V and its confidence interval
descr (or descriptives)
Basic diamond plot construction function
Disattenuate a Cohen's d estimate for unreliability in the continuous ...
Disattentuate a Pearson's r estimate for unreliability
Escapes any characters that would have special meaning in a reqular ex...
Find exceptional scores
Find exceptional scores
Exporting tables to HTML
Extract variable names
Do factor-analysis, logging warnings and errors
Extract confidence bounds from psych's factor analysis object
Two-dimensional visualisation of factor analyses
Get number of items in a public Zotero group
Two-dimensional visualisation of factor analyses
Find the shortest interval
Pretty formatting of confidence intervals
Pretty formatting of p values
Pretty formatting of correlation coefficients
Use a dialog to load data from an SPSS file
Bar chart using ggplot
Box plot using ggplot
Convenience functions for ggplots based on multiple variables
A ggplot pie chart
Sample distribution based plotting of proportions
Easy ggplot Q-Q plot
Save a ggplot with specific defaults
Print a heading
Conditional returning of an object
Case insensitive version of %in%
Insert numbered caption
invertItems
Construct the URL for a Zotero export call
Identify outliers according to the IQR criterion
Visualising individual response patterns
NULL and NA 'proof' checking of whether something is a number
Checking whether numbers are odd or even
More flexible version of isTRUE
Create colours for a response scale for an item
Wrapper for kableExtra for consistent ufs table styling
knitAndSave
Download and save all items in a public Zotero group
Easily knit a custom figure fragment
Title
Converting many dataframe columns to numeric
A confidence interval for the mean
Diamond plots
Diamond plot: means
A diamond plot based on means, standard deviations, and sample sizes
Generate a table for multiple response questions
Multi Response
Generate a table collapsing frequencies of multiple variables
Helper functions for Numbers Needed for Change
normalHist
normalityAssessment and samplingDistribution
Remove one or more zeroes before the decimal point
The distribution of Omega Squared
Options for the ufs package
Split a dataset into two parallel halves
Estimate required sample size for accuracy in parameter estimation usi...
Estimate required sample size for accuracy in parameter estimation of ...
Determine required sample size for a given confidence interval width f...
Get all items in a public Zotero group
Power calculations for Omega Squared.
Quietly update a package from a remote repository
Convenience function to quickly copy-paste a vector
Bind lots of dataframes together rowwise
Simple alternative for rbind.fill or bind_rows
Detecting influential cases in regression analyses
Repeat a string a number of times
Output report from results
Load a package, install if not available
scaleDiagnosis
scaleStructure
scatterMatrix
Set a knitr hook for caption numbering
sharedSubString
Simulate a dataset
Spearman-Brown formula
Convert a string to a safe filename
Selects suspect participants from a carelessObject
Test-Retest Alpha Coefficient
Test-Retest Coefficient of Equivalence & Stability
testRetestReliability
Easily parse a vector into a character value
Convenience function to get 2-7 color viridis palettes
Wrap all elements in a vector
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' package, the 'rosetta' package, and the soon-to-be-released 'scd' package 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.