Learn R Programming

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

ufs

Copy Link

Version

Install

install.packages('ufs')

Monthly Downloads

805

Version

0.5.2

License

GPL (>= 3)

Maintainer

Gjalt-Jorn Ygram Peters

Last Published

March 10th, 2024

Functions in ufs (0.5.2)

computeStatistic_t

associationMatrix Helper Functions
BAC_plot

Bland-Altman Change plot
aiperjmv

Sample size for accuracy: r
A_VarghaDelaney

Vargha & Delaney's A
CIM

Conceptual Independence Matrix
aipedjmv

Sample size for accuracy: d
arr

Absolute Relative Risk and confidence interval
areColors

Check whether elements of a vector are valid colors
%IN%

Case insensitive version of %in%
associationMatrix

associationMatrix
attenuate.r

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

A diamondplot with confidence intervals for associations
bfi-data

25 Personality items representing 5 factors
diamondCoordinates

Basic ggplot2 diamond plot layer construction functions
confIntProp

Confidence intervals for proportions, vectorized over all arguments
attenuate.d

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

A function to compute a correlation's confidence interval
cohensdCI

The distribution of Cohen's d
carelessReport

A report to help diagnosing careless responders
carelessObject

Compute diagnostics for careless responding
checkPkgs

Check for presence of a package
convert

conversion functions
confintrjmv

Effect Size Confidence Interval: Pearson's r
biAxisDiamondPlot

Diamondplot with two Y axes
confIntSD

Confidence interval for standard deviation
cat0

Concatenate to screen without spaces
checkDataIntegrity

Conveniently checking data integrity
faConfInt

Extract confidence bounds from psych's factor analysis object
exceptionalScore

Find exceptional scores
confIntOmegaSq

Confidence intervals for Omega Squared
duoComparisonDiamondPlot

meansComparisonDiamondPlot and duoComparisonDiamondPlot
exceptionalScores

Find exceptional scores
confintdjmv

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

Convert Cohen's d to U3
convertToNumeric

Conveniently convert vectors to numeric
factorLoadingDiamondCIplot

Two-dimensional visualisation of factor analyses
ggBarChart

Bar chart using ggplot
factorLoadingHeatmap

Two-dimensional visualisation of factor analyses
getData

Basic SPSS translation functions
exportToHTML

Exporting tables to HTML
heading

Print a heading
disattenuate.r

Disattentuate a Pearson's r estimate for unreliability
extractVarName

Extract variable names
disattenuate.d

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

Conditional returning of an object
escapeRegex

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

Find the shortest interval
knitFig

Easily knit a custom figure fragment
diamondPlot

Basic diamond plot construction function
fa_failsafe

Do factor-analysis, logging warnings and errors
is.nr

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

Checking whether numbers are odd or even
formatCI

Pretty formatting of confidence intervals
ggBoxplot

Box plot using ggplot
ggPie

A ggplot pie chart
massConvertToNumeric

Converting many dataframe columns to numeric
formatR

Pretty formatting of correlation coefficients
formatPvalue

Pretty formatting of p values
ggProportionPlot

Sample distribution based plotting of proportions
kblXtra

Wrapper for kableExtra for consistent ufs table styling
cramersV

Cramer's V and its confidence interval
ggEasyBar

Convenience functions for ggplots based on multiple variables
makeScales

Title
isTrue

More flexible version of isTRUE
meanConfInt

A confidence interval for the mean
meanSDtoDiamondPlot

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

Create colours for a response scale for an item
qVec

Convenience function to quickly copy-paste a vector
meansDiamondPlot

Diamond plots
descr

descr (or descriptives)
pwr.omegasq

Power calculations for Omega Squared.
pwr.confIntR

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

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

Helper functions for Numbers Needed for Change
insertFigureCaption

Insert numbered caption
quietRemotesInstall

Quietly update a package from a remote repository
simDataSet

Simulate a dataset
knitAndSave

knitAndSave
repeatStr

Repeat a string a number of times
sharedSubString

sharedSubString
vecTxt

Easily parse a vector into a character value
viridisPalette

Convenience function to get 2-7 color viridis palettes
regrInfluential

Detecting influential cases in regression analyses
invertItem

invertItems
multiResponsejmv

Multi Response
wrapVector

Wrap all elements in a vector
ggSave

Save a ggplot with specific defaults
irpplot

Visualising individual response patterns
ggqq

Easy ggplot Q-Q plot
report

Output report from results
suspectParticipants

Selects suspect participants from a carelessObject
safeRequire

Load a package, install if not available
opts

Options for the ufs package
iqrOutlier

Identify outliers according to the IQR criterion
multiVarFreq

Generate a table collapsing frequencies of multiple variables
pomegaSq

The distribution of Omega Squared
zotero_construct_export_call

Construct the URL for a Zotero export call
meansDiamondPlotjmv

Diamond plot: means
scatterMatrix

scatterMatrix
multiResponse

Generate a table for multiple response questions
setCaptionNumberingKnitrHook

Set a knitr hook for caption numbering
pwr.confIntProp

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

Simple alternative for rbind.fill or bind_rows
pwr.bootES

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

Bind lots of dataframes together rowwise
spearmanBrown

Spearman-Brown formula
zotero_nr_of_items

Get number of items in a public Zotero group
normalHist

normalHist
strToFilename

Convert a string to a safe filename
testRetestSimData

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

Download and save all items in a public Zotero group
scaleDiagnosis

scaleDiagnosis
zotero_get_all_items

Get all items in a public Zotero group
dataShape

normalityAssessment and samplingDistribution
scaleStructure

scaleStructure