Learn R Programming

⚠️There's a newer version (25.7.1) of this package.Take me there.

ufs

Copy Link

Version

Install

install.packages('ufs')

Monthly Downloads

571

Version

0.5.6

License

GPL (>= 3)

Maintainer

Gjalt-Jorn Peters

Last Published

July 29th, 2025

Functions in ufs (0.5.6)

arr

Absolute Relative Risk and confidence interval
cat0

Concatenate to screen without spaces
bfi-data

25 Personality items representing 5 factors
carelessObject

Compute diagnostics for careless responding
checkDataIntegrity

Conveniently checking data integrity
associationsDiamondPlot

A diamondplot with confidence intervals for associations
attenuate.r

Attenuate a Pearson's r estimate for unreliability in the measurements
diamondCoordinates

Basic ggplot2 diamond plot layer construction functions
carelessReport

A report to help diagnosing careless responders
biAxisDiamondPlot

Diamondplot with two Y axes
confIntOmegaSq

Confidence intervals for Omega Squared
attenuate.d

Attenuate a Cohen's d estimate for unreliability in the continuous variable
confintdjmv

Effect Size Confidence Interval: Cohens's d
confIntSD

Confidence interval for standard deviation
duoComparisonDiamondPlot

meansComparisonDiamondPlot and duoComparisonDiamondPlot
confintrjmv

Effect Size Confidence Interval: Pearson's r
confIntProp

Confidence intervals for proportions, vectorized over all arguments
confIntR

A function to compute a correlation's confidence interval
convert

conversion functions
convertToNumeric

Conveniently convert vectors to numeric
convert.d.to.U3

Convert Cohen's d to U3
checkPkgs

Check for presence of a package
descr

descr (or descriptives)
cramersV

Cramer's V and its confidence interval
cohensdCI

The distribution of Cohen's d
diamondPlot

Basic diamond plot construction function
exportToHTML

Exporting tables to HTML
disattenuate.d

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

Extract variable names
formatPvalue

Pretty formatting of p values
exceptionalScore

Find exceptional scores
ggPie

A ggplot pie chart
fa_failsafe

Do factor-analysis, logging warnings and errors
disattenuate.r

Disattentuate a Pearson's r estimate for unreliability
faConfInt

Extract confidence bounds from psych's factor analysis object
formatR

Pretty formatting of correlation coefficients
exceptionalScores

Find exceptional scores
getData

Use a dialog to load data from an SPSS file
ggBarChart

Bar chart using ggplot
escapeRegex

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

More flexible version of isTRUE
ggBoxplot

Box plot using ggplot
heading

Print a heading
factorLoadingDiamondCIplot

Two-dimensional visualisation of factor analyses
factorLoadingHeatmap

Two-dimensional visualisation of factor analyses
ggEasyBar

Convenience functions for ggplots based on multiple variables
biDimColors

Create colours for a response scale for an item
insertFigureCaption

Insert numbered caption
invertItem

invertItems
ifelseObj

Conditional returning of an object
ggProportionPlot

Sample distribution based plotting of proportions
kblXtra

Wrapper for kableExtra for consistent ufs table styling
knitAndSave

knitAndSave
iqrOutlier

Identify outliers according to the IQR criterion
massConvertToNumeric

Converting many dataframe columns to numeric
irpplot

Visualising individual response patterns
meanConfInt

A confidence interval for the mean
is.nr

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

Checking whether numbers are odd or even
meansDiamondPlotjmv

Diamond plot: means
findShortestInterval

Find the shortest interval
pwr.confIntProp

Estimate required sample size for accuracy in parameter estimation of a proportion
multiResponse

Generate a table for multiple response questions
pwr.confIntR

Determine required sample size for a given confidence interval width for Pearson's r
ggqq

Easy ggplot Q-Q plot
formatCI

Pretty formatting of confidence intervals
ggSave

Save a ggplot with specific defaults
rbind_dfs

Simple alternative for rbind.fill or bind_rows
regrInfluential

Detecting influential cases in regression analyses
meanSDtoDiamondPlot

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

Multi Response
multiVarFreq

Generate a table collapsing frequencies of multiple variables
pomegaSq

The distribution of Omega Squared
opts

Options for the ufs package
meansDiamondPlot

Diamond plots
scatterMatrix

scatterMatrix
scaleStructure

scaleStructure
pwr.omegasq

Power calculations for Omega Squared.
normalHist

normalHist
wrapVector

Wrap all elements in a vector
dataShape

normalityAssessment and samplingDistribution
zotero_construct_export_call

Construct the URL for a Zotero export call
qVec

Convenience function to quickly copy-paste a vector
suspectParticipants

Selects suspect participants from a carelessObject
testRetestReliability

testRetestReliability
strToFilename

Convert a string to a safe filename
viridisPalette

Convenience function to get 2-7 color viridis palettes
vecTxt

Easily parse a vector into a character value
knitFig

Easily knit a custom figure fragment
testRetestSimData

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

Output report from results
repeatStr

Repeat a string a number of times
simDataSet

Simulate a dataset
makeScales

Title
spearmanBrown

Spearman-Brown formula
noZero

Remove one or more zeroes before the decimal point
convert.cer.to.d

Helper functions for Numbers Needed for Change
parallelSubscales

Split a dataset into two parallel halves
pwr.bootES

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

Bind lots of dataframes together rowwise
quietRemotesInstall

Quietly update a package from a remote repository
testRetestAlpha

Test-Retest Alpha Coefficient
zotero_download_and_export_items

Download and save all items in a public Zotero group
safeRequire

Load a package, install if not available
zotero_get_all_items

Get all items in a public Zotero group
scaleDiagnosis

scaleDiagnosis
testRetestCES

Test-Retest Coefficient of Equivalence & Stability
setCaptionNumberingKnitrHook

Set a knitr hook for caption numbering
sharedSubString

sharedSubString
zotero_nr_of_items

Get number of items in a public Zotero group
aiperjmv

Sample size for accuracy: r
BAC_plot

Bland-Altman Change plot
%IN%

Case insensitive version of %in%
areColors

Check whether elements of a vector are valid colors
aipedjmv

Sample size for accuracy: d
A_VarghaDelaney

Vargha & Delaney's A
CIM

Conceptual Independence Matrix
computeStatistic_t

associationMatrix Helper Functions
associationMatrix

associationMatrix