Rdocumentation
powered by
Learn R Programming
ufs
Copy Link
Link to current version
Version
Version
25.7.1
0.5.12
0.5.10
0.5.6
0.5.2
0.4.3
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.0
0.1.0
0.0.1
Install
install.packages('ufs')
Monthly Downloads
755
Version
25.7.1
License
GPL (>= 3)
Maintainer
Gjalt-Jorn Peters
Last Published
July 29th, 2025
Functions in ufs (25.7.1)
Search all functions
bfi-data
25 Personality items representing 5 factors
attenuate.r
Attenuate a Pearson's r estimate for unreliability in the measurements
attenuate.d
Attenuate a Cohen's d estimate for unreliability in the continuous variable
cat0
Concatenate to screen without spaces
associationsDiamondPlot
A diamondplot with confidence intervals for associations
carelessObject
Compute diagnostics for careless responding
carelessReport
A report to help diagnosing careless responders
biAxisDiamondPlot
Diamondplot with two Y axes
diamondCoordinates
Basic ggplot2 diamond plot layer construction functions
checkDataIntegrity
Conveniently checking data integrity
duoComparisonDiamondPlot
meansComparisonDiamondPlot and duoComparisonDiamondPlot
confintrjmv
Effect Size Confidence Interval: Pearson's r
checkPkgs
Check for presence of a package
cohensdCI
The distribution of Cohen's
d
confIntOmegaSq
Confidence intervals for Omega Squared
convert
conversion functions
confIntProp
Confidence intervals for proportions, vectorized over all arguments
confIntR
A function to compute a correlation's confidence interval
confIntSD
Confidence interval for standard deviation
confintdjmv
Effect Size Confidence Interval: Cohens's d
exceptionalScore
Find exceptional scores
convertToNumeric
Conveniently convert vectors to numeric
convert.d.to.U3
Convert Cohen's d to U3
diamondPlot
Basic diamond plot construction function
disattenuate.d
Disattenuate a Cohen's d estimate for unreliability in the continuous variable
extractVarName
Extract variable names
disattenuate.r
Disattentuate a Pearson's r estimate for unreliability
exportToHTML
Exporting tables to HTML
formatR
Pretty formatting of correlation coefficients
formatPvalue
Pretty formatting of
p
values
cramersV
Cramer's V and its confidence interval
descr
descr (or descriptives)
escapeRegex
Escapes any characters that would have special meaning in a reqular expression.
faConfInt
Extract confidence bounds from psych's factor analysis object
fa_failsafe
Do factor-analysis, logging warnings and errors
exceptionalScores
Find exceptional scores
factorLoadingHeatmap
Two-dimensional visualisation of factor analyses
factorLoadingDiamondCIplot
Two-dimensional visualisation of factor analyses
findShortestInterval
Find the shortest interval
formatCI
Pretty formatting of confidence intervals
ggPie
A ggplot pie chart
heading
Print a heading
ggBoxplot
Box plot using ggplot
ggEasyBar
Convenience functions for ggplots based on multiple variables
ifelseObj
Conditional returning of an object
getData
Use a dialog to load data from an SPSS file
knitAndSave
knitAndSave
kblXtra
Wrapper for kableExtra for consistent
ufs
table styling
ggBarChart
Bar chart using ggplot
is.odd
Checking whether numbers are odd or even
is.nr
NULL
and
NA
'proof' checking of whether something is a number
ggProportionPlot
Sample distribution based plotting of proportions
insertFigureCaption
Insert numbered caption
multiResponse
Generate a table for multiple response questions
invertItem
invertItems
biDimColors
Create colours for a response scale for an item
ggSave
Save a ggplot with specific defaults
isTrue
More flexible version of isTRUE
meansDiamondPlotjmv
Diamond plot: means
multiResponsejmv
Multi Response
multiVarFreq
Generate a table collapsing frequencies of multiple variables
ggqq
Easy ggplot Q-Q plot
knitFig
Easily knit a custom figure fragment
makeScales
Title
pwr.confIntProp
Estimate required sample size for accuracy in parameter estimation of a proportion
pwr.confIntR
Determine required sample size for a given confidence interval width for Pearson's r
iqrOutlier
Identify outliers according to the IQR criterion
massConvertToNumeric
Converting many dataframe columns to numeric
pwr.omegasq
Power calculations for Omega Squared.
qVec
Convenience function to quickly copy-paste a vector
pomegaSq
The distribution of Omega Squared
opts
Options for the ufs package
meanConfInt
A confidence interval for the mean
irpplot
Visualising individual response patterns
meansDiamondPlot
Diamond plots
meanSDtoDiamondPlot
A diamond plot based on means, standard deviations, and sample sizes
quietRemotesInstall
Quietly update a package from a remote repository
pwr.bootES
Estimate required sample size for accuracy in parameter estimation using bootES
rbind_dfs
Simple alternative for rbind.fill or bind_rows
parallelSubscales
Split a dataset into two parallel halves
regrInfluential
Detecting influential cases in regression analyses
normalHist
normalHist
strToFilename
Convert a string to a safe filename
repeatStr
Repeat a string a number of times
report
Output report from results
dataShape
normalityAssessment and samplingDistribution
testRetestAlpha
Test-Retest Alpha Coefficient
setCaptionNumberingKnitrHook
Set a knitr hook for caption numbering
scaleStructure
scaleStructure
noZero
Remove one or more zeroes before the decimal point
convert.cer.to.d
Helper functions for Numbers Needed for Change
scatterMatrix
scatterMatrix
suspectParticipants
Selects suspect participants from a
carelessObject
testRetestReliability
testRetestReliability
testRetestCES
Test-Retest Coefficient of Equivalence & Stability
vecTxt
Easily parse a vector into a character value
rbind_df_list
Bind lots of dataframes together rowwise
testRetestSimData
testRetestSimData is a simulated dataframe used to demonstrate the testRetestAlpha coefficient function.
safeRequire
Load a package, install if not available
scaleDiagnosis
scaleDiagnosis
viridisPalette
Convenience function to get 2-7 color viridis palettes
sharedSubString
sharedSubString
zotero_get_all_items
Get all items in a public Zotero group
zotero_download_and_export_items
Download and save all items in a public Zotero group
wrapVector
Wrap all elements in a vector
zotero_construct_export_call
Construct the URL for a Zotero export call
spearmanBrown
Spearman-Brown formula
simDataSet
Simulate a dataset
zotero_nr_of_items
Get number of items in a public Zotero group
associationMatrix
associationMatrix
A_VarghaDelaney
Vargha & Delaney's A
BAC_plot
Bland-Altman Change plot
%IN%
Case insensitive version of %in%
aiperjmv
Sample size for accuracy: r
arr
Absolute Relative Risk and confidence interval
CIM
Conceptual Independence Matrix
aipedjmv
Sample size for accuracy: d
computeStatistic_t
associationMatrix Helper Functions
areColors
Check whether elements of a vector are valid colors