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

578

Version

0.4.0

License

GPL (>= 3)

Maintainer

GjaltJorn Peters

Last Published

July 29th, 2025

Functions in ufs (0.4.0)

aipedjmv

Sample size for accuracy: d
associationsDiamondPlot

A diamondplot with confidence intervals for associations
aiperjmv

Sample size for accuracy: r
CIM

Conceptual Independence Matrix
%IN%

Case insensitive version of %in%
arr

Absolute Relative Risk and confidence interval
A_VarghaDelaney

Vargha & Delaney's A
areColors

Check whether elements of a vector are valid colors
computeStatistic_t

associationMatrix Helper Functions
associationMatrix

associationMatrix
checkPkgs

Check for presence of a package
confIntOmegaSq

Confidence intervals for Omega Squared
carelessReport

A report to help diagnosing careless responders
confintrjmv

Effect Size Confidence Interval: Pearson's r
cat0

Concatenate to screen without spaces
disattenuate.d

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

Basic diamond plot construction function
cohensdCI

The distribution of Cohen's d
duoComparisonDiamondPlot

meansComparisonDiamondPlot and duoComparisonDiamondPlot
exportToHTML

Exporting tables to HTML
convert

conversion functions
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
carelessObject

Compute diagnostics for careless responding
biAxisDiamondPlot

Diamondplot with two Y axes
formatCI

Pretty formatting of confidence intervals
formatPvalue

Pretty formatting of p values
extractVarName

Extract variable names
bfi-data

25 Personality items representing 5 factors
factorLoadingDiamondCIplot

Two-dimensional visualisation of factor analyses
diamondCoordinates

Basic ggplot2 diamond plot layer construction functions
confIntProp

Confidence intervals for proportions, vectorized over all arguments
confIntSD

Confidence interval for standard deviation
confIntR

A function to compute a correlation's confidence interval
findShortestInterval

Find the shortest interval
convert.d.to.U3

Convert Cohen's d to U3
fa_failsafe

Do factor-analysis, logging warnings and errors
faConfInt

Extract confidence bounds from psych's factor analysis object
kblXtra

Wrapper for kableExtra for consistent ufs table styling
biDimColors

Create colours for a response scale for an item
dataShape

normalityAssessment and samplingDistribution
formatR

Pretty formatting of correlation coefficients
pomegaSq

The distribution of Omega Squared
convertToNumeric

Conveniently convert vectors to numeric
ifelseObj

Conditional returning of an object
heading

Print a heading
getData

Basic SPSS translation functions
confintdjmv

Effect Size Confidence Interval: Cohens's d
disattenuate.r

Disattentuate a Pearson's r estimate for unreliability
cramersV

Cramer's V and its confidence interval
is.odd

Checking whether numbers are odd or even
escapeRegex

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

Save a ggplot with specific defaults
repeatStr

Repeat a string a number of times
regrInfluential

Detecting influential cases in regression analyses
scatterMatrix

scatterMatrix
isTrue

More flexible version of isTRUE
meanConfInt

A confidence interval for the mean
ggEasyBar

Convenience functions for ggplots based on multiple variables
setCaptionNumberingKnitrHook

Set a knitr hook for caption numbering
ggProportionPlot

Sample distribution based plotting of proportions
descr

descr (or descriptives)
meanSDtoDiamondPlot

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

Visualising individual response patterns
multiVarFreq

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

Helper functions for Numbers Needed for Change
meansDiamondPlotjmv

Diamond plot: means
is.nr

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

Diamond plots
report

Output report from results
multiResponsejmv

Multi Response
multiResponse

Generate a table for multiple response questions
noZero

Remove one or more zeroes before the decimal point
strToFilename

Convert a string to a safe filename
suspectParticipants

Selects suspect participants from a carelessObject
normalHist

normalHist
vecTxt

Easily parse a vector into a character value
safeRequire

Load a package, install if not available
testRetestSimData

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

Converting many dataframe columns to numeric
makeScales

Title
ggqq

Easy ggplot Q-Q plot
quietRemotesInstall

Quietly update a package from a remote repository
opts

Options for the ufs package
qVec

Convenience function to quickly copy-paste a vector
zotero_get_all_items

Get all items in a public Zotero group
spearmanBrown

Spearman-Brown formula
sharedSubString

sharedSubString
pwr.bootES

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

Box plot using ggplot
insertFigureCaption

Insert numbered caption
ggBarChart

Bar chart using ggplot
pwr.confIntProp

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

Get number of items in a public Zotero group
knitAndSave

knitAndSave
scaleDiagnosis

scaleDiagnosis
iqrOutlier

Identify outliers according to the IQR criterion
knitFig

Easily knit a custom figure fragment
zotero_construct_export_call

Construct the URL for a Zotero export call
zotero_download_and_export_items

Download and save all items in a public Zotero group
scaleStructure

scaleStructure
pwr.confIntR

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