Learn R Programming

ufs

Copy Link

Version

Install

install.packages('ufs')

Monthly Downloads

985

Version

0.5.12

License

GPL (>= 3)

Last Published

March 10th, 2024

Functions in ufs (0.5.12)

carelessReport

A report to help diagnosing careless responders
cat0

Concatenate to screen without spaces
attenuate.r

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

Compute diagnostics for careless responding
attenuate.d

Attenuate a Cohen's d estimate for unreliability in the continuous variable
bfi-data

25 Personality items representing 5 factors
diamondCoordinates

Basic ggplot2 diamond plot layer construction functions
associationsDiamondPlot

A diamondplot with confidence intervals for associations
biAxisDiamondPlot

Diamondplot with two Y axes
checkDataIntegrity

Conveniently checking data integrity
confIntSD

Confidence interval for standard deviation
confIntR

A function to compute a correlation's confidence interval
confintdjmv

Effect Size Confidence Interval: Cohens's d
confintrjmv

Effect Size Confidence Interval: Pearson's r
disattenuate.r

Disattentuate a Pearson's r estimate for unreliability
confIntProp

Confidence intervals for proportions, vectorized over all arguments
checkPkgs

Check for presence of a package
convertToNumeric

Conveniently convert vectors to numeric
disattenuate.d

Disattenuate a Cohen's d estimate for unreliability in the continuous variable
convert.d.to.U3

Convert Cohen's d to U3
cramersV

Cramer's V and its confidence interval
confIntOmegaSq

Confidence intervals for Omega Squared
extractVarName

Extract variable names
duoComparisonDiamondPlot

meansComparisonDiamondPlot and duoComparisonDiamondPlot
exportToHTML

Exporting tables to HTML
fa_failsafe

Do factor-analysis, logging warnings and errors
formatCI

Pretty formatting of confidence intervals
escapeRegex

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

Two-dimensional visualisation of factor analyses
diamondPlot

Basic diamond plot construction function
ggPie

A ggplot pie chart
faConfInt

Extract confidence bounds from psych's factor analysis object
findShortestInterval

Find the shortest interval
descr

descr (or descriptives)
cohensdCI

The distribution of Cohen's d
isTrue

More flexible version of isTRUE
formatR

Pretty formatting of correlation coefficients
is.nr

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

Conditional returning of an object
heading

Print a heading
ggBoxplot

Box plot using ggplot
factorLoadingHeatmap

Two-dimensional visualisation of factor analyses
formatPvalue

Pretty formatting of p values
is.odd

Checking whether numbers are odd or even
ggEasyBar

Convenience functions for ggplots based on multiple variables
exceptionalScore

Find exceptional scores
biDimColors

Create colours for a response scale for an item
convert

conversion functions
ggSave

Save a ggplot with specific defaults
kblXtra

Wrapper for kableExtra for consistent ufs table styling
knitAndSave

knitAndSave
ggProportionPlot

Sample distribution based plotting of proportions
multiResponsejmv

Multi Response
makeScales

Title
knitFig

Easily knit a custom figure fragment
insertFigureCaption

Insert numbered caption
ggqq

Easy ggplot Q-Q plot
meanSDtoDiamondPlot

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

invertItems
meansDiamondPlot

Diamond plots
meansDiamondPlotjmv

Diamond plot: means
multiResponse

Generate a table for multiple response questions
pwr.bootES

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

Split a dataset into two parallel halves
irpplot

Visualising individual response patterns
exceptionalScores

Find exceptional scores
iqrOutlier

Identify outliers according to the IQR criterion
massConvertToNumeric

Converting many dataframe columns to numeric
ggBarChart

Bar chart using ggplot
pwr.confIntProp

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

Options for the ufs package
pomegaSq

The distribution of Omega Squared
multiVarFreq

Generate a table collapsing frequencies of multiple variables
safeRequire

Load a package, install if not available
meanConfInt

A confidence interval for the mean
getData

Use a dialog to load data from an SPSS file
scaleDiagnosis

scaleDiagnosis
normalHist

normalHist
dataShape

normalityAssessment and samplingDistribution
repeatStr

Repeat a string a number of times
report

Output report from results
spearmanBrown

Spearman-Brown formula
simDataSet

Simulate a dataset
rbind_dfs

Simple alternative for rbind.fill or bind_rows
pwr.confIntR

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

Test-Retest Alpha Coefficient
zotero_get_all_items

Get all items in a public Zotero group
testRetestReliability

testRetestReliability
regrInfluential

Detecting influential cases in regression analyses
zotero_download_and_export_items

Download and save all items in a public Zotero group
testRetestCES

Test-Retest Coefficient of Equivalence & Stability
qVec

Convenience function to quickly copy-paste a vector
pwr.omegasq

Power calculations for Omega Squared.
strToFilename

Convert a string to a safe filename
suspectParticipants

Selects suspect participants from a carelessObject
testRetestSimData

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

Easily parse a vector into a character value
scaleStructure

scaleStructure
zotero_nr_of_items

Get number of items in a public Zotero group
viridisPalette

Convenience function to get 2-7 color viridis palettes
scatterMatrix

scatterMatrix
rbind_df_list

Bind lots of dataframes together rowwise
noZero

Remove one or more zeroes before the decimal point
quietRemotesInstall

Quietly update a package from a remote repository
setCaptionNumberingKnitrHook

Set a knitr hook for caption numbering
wrapVector

Wrap all elements in a vector
convert.cer.to.d

Helper functions for Numbers Needed for Change
sharedSubString

sharedSubString
zotero_construct_export_call

Construct the URL for a Zotero export call
arr

Absolute Relative Risk and confidence interval
areColors

Check whether elements of a vector are valid colors
computeStatistic_t

associationMatrix Helper Functions
associationMatrix

associationMatrix
aiperjmv

Sample size for accuracy: r
aipedjmv

Sample size for accuracy: d
BAC_plot

Bland-Altman Change plot
A_VarghaDelaney

Vargha & Delaney's A
CIM

Conceptual Independence Matrix
%IN%

Case insensitive version of %in%