Learn R Programming

ufs

Copy Link

Version

Install

install.packages('ufs')

Monthly Downloads

1,263

Version

26.11.0

License

GPL (>= 3)

Maintainer

Gjalt-Jorn Peters

Last Published

November 4th, 2026

Functions in ufs (26.11.0)

bfi-data

25 Personality items representing 5 factors
cat0

Concatenate to screen without spaces
checkDataIntegrity

Conveniently checking data integrity
biAxisDiamondPlot

Diamondplot with two Y axes
associationsDiamondPlot

A diamondplot with confidence intervals for associations
carelessReport

A report to help diagnosing careless responders
confIntSD

Confidence interval for standard deviation
confintrjmv

Effect Size Confidence Interval: Pearson's r
confIntR

A function to compute a correlation's confidence interval
convert

conversion functions
confintdjmv

Effect Size Confidence Interval: Cohens's d
convert.d.to.U3

Convert Cohen's d to U3
convertToNumeric

Conveniently convert vectors to numeric
confIntProp

Confidence intervals for proportions, vectorized over all arguments
confIntOmegaSq

Confidence intervals for Omega Squared
duoComparisonDiamondPlot

meansComparisonDiamondPlot and duoComparisonDiamondPlot
exceptionalScore

Find exceptional scores
descr

descr (or descriptives)
cramersV

Cramer's V and its confidence interval
faConfInt

Extract confidence bounds from psych's factor analysis object
fa_failsafe

Do factor-analysis, logging warnings and errors
extractVarName

Extract variable names
exportToHTML

Exporting tables to HTML
exceptionalScores

Find exceptional scores
formatPvalue

Pretty formatting of p values
ifelseObj

Conditional returning of an object
formatR

Pretty formatting of correlation coefficients
heading

Print a heading
ggBarChart

Bar chart using ggplot
getData

Use a dialog to load data from an SPSS file
disattenuate.d

Disattenuate a Cohen's d estimate for unreliability in the continuous variable
formatCI

Pretty formatting of confidence intervals
findShortestInterval

Find the shortest interval
diamondPlot

Basic diamond plot construction function
insertFigureCaption

Insert numbered caption
is.nr

NULL and NA 'proof' checking of whether something is a number
ggSave

Save a ggplot with specific defaults
is.odd

Checking whether numbers are odd or even
ggqq

Easy ggplot Q-Q plot
ggPie

A ggplot pie chart
massConvertToNumeric

Converting many dataframe columns to numeric
meanConfInt

A confidence interval for the mean
invertItem

invertItems
meansDiamondPlotjmv

Diamond plot: means
isTrue

More flexible version of isTRUE
makeScales

Title
biDimColors

Create colours for a response scale for an item
knitFig

Easily knit a custom figure fragment
kblXtra

Wrapper for kableExtra for consistent ufs table styling
checkPkgs

Check for presence of a package
ggProportionPlot

Sample distribution based plotting of proportions
opts

Options for the ufs package
multiResponse

Generate a table for multiple response questions
normalHist

normalHist
dataShape

normalityAssessment and samplingDistribution
cohensdCI

The distribution of Cohen's d
knitAndSave

knitAndSave
pomegaSq

The distribution of Omega Squared
disattenuate.r

Disattentuate a Pearson's r estimate for unreliability
pwr.omegasq

Power calculations for Omega Squared.
factorLoadingDiamondCIplot

Two-dimensional visualisation of factor analyses
escapeRegex

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

Visualising individual response patterns
ggBoxplot

Box plot using ggplot
ggEasyBar

Convenience functions for ggplots based on multiple variables
iqrOutlier

Identify outliers according to the IQR criterion
factorLoadingHeatmap

Two-dimensional visualisation of factor analyses
regrInfluential

Detecting influential cases in regression analyses
rbind_dfs

Simple alternative for rbind.fill or bind_rows
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
safeRequire

Load a package, install if not available
report

Output report from results
repeatStr

Repeat a string a number of times
qVec

Convenience function to quickly copy-paste a vector
testRetestAlpha

Test-Retest Alpha Coefficient
vecTxt

Easily parse a vector into a character value
strToFilename

Convert a string to a safe filename
suspectParticipants

Selects suspect participants from a carelessObject
zotero_download_and_export_items

Download and save all items in a public Zotero group
meanSDtoDiamondPlot

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

Diamond plots
zotero_nr_of_items

Get number of items in a public Zotero group
zotero_get_all_items

Get all items in a public Zotero group
scaleStructure

scaleStructure
parallelSubscales

Split a dataset into two parallel halves
quietRemotesInstall

Quietly update a package from a remote repository
noZero

Remove one or more zeroes before the decimal point
rbind_df_list

Bind lots of dataframes together rowwise
multiResponsejmv

Multi Response
scatterMatrix

scatterMatrix
scaleDiagnosis

scaleDiagnosis
multiVarFreq

Generate a table collapsing frequencies of multiple variables
convert.cer.to.d

Helper functions for Numbers Needed for Change
testRetestReliability

testRetestReliability
testRetestCES

Test-Retest Coefficient of Equivalence & Stability
viridisPalette

Convenience function to get 2-7 color viridis palettes
pwr.bootES

Estimate required sample size for accuracy in parameter estimation using bootES
zotero_construct_export_call

Construct the URL for a Zotero export call
setCaptionNumberingKnitrHook

Set a knitr hook for caption numbering
wrapVector

Wrap all elements in a vector
sharedSubString

sharedSubString
testRetestSimData

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

Spearman-Brown formula
simDataSet

Simulate a dataset
A_VarghaDelaney

Vargha & Delaney's A
computeStatistic_t

associationMatrix Helper Functions
%IN%

Case insensitive version of %in%
CIM

Conceptual Independence Matrix
aipedjmv

Sample size for accuracy: d
aiperjmv

Sample size for accuracy: r
BAC_plot

Bland-Altman Change plot
arr

Absolute Relative Risk and confidence interval
carelessObject

Compute diagnostics for careless responding
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
areColors

Check whether elements of a vector are valid colors
diamondCoordinates

Basic ggplot2 diamond plot layer construction functions
associationMatrix

associationMatrix