Skip to contents

All functions

angle2hjust()
Convert angles to ggplot2 hjust
angle2vjust()
Convert angles to ggplot2 vjust
attach_function()
Converts the default values of a function's arguments to variables and attaches them to the global environment
cor2pcor()
Converts a correlation matrix to a partial correlation matrix
`cornames<-`()
Name for square arrays like correlation matrices
cor_ellipse()
Generate correlation ellipse data
cor_heat()
Correlation plot
cor_text()
Format text of a correlation matrix
cross_vectors()
Create unique combinations of vectors
df2matrix()
Convert data.frame and tibbles to matrices with named rows and columns
geom_richlabel()
A wrapper for ggtext::geom_richtext
get_quote()
Retrieve text within a span or div with a named id
ggsvg()
Save ggplot as .pdf, then convert to .svg via pdf2svg
ggtext_size()
Convert ggplot theme font size to geom_text size
insert_latex_color()
Insert latex colors into a matrix
irt_plot_app()
IRT Plot Shiny App
latexarray()
Make latex array
lm_matrix()
Regression from correlation matrix
make_indicators()
Make latent variable indicators with rbeta_ms function
modregplot()
Simple slopes plot
multivariate_ci()
General a multivariate confidence interval for a set of scores
parallel_analysis()
ggplot of parallel analysis from the psych package
paste_matrix_from_clipboard()
Paste matrix code from clipboard
pdf2svg()
Function that converts pdf files to svg. Must have the pdf2svg program installed (https://github.com/dawbarton/pdf2svg)
plotnorm()
Plot a normal distribution shading below x
plot_loading()
Creats a plot of factor loadings
prob_label()
Format numeric probabilities as text labels
proportion2percentile()
Rounds proportions to significant digits both near 0 and 1, then converts to percentiles
proportion_round()
Rounds proportions to significant digits both near 0 and 1
pthreshold()
Probability a true score will be below a threshold
pvalueAPA()
APA p-value rounding
rbeta_ms()
Random beta distribution with specified mean and sd
remove_leading_zero()
Remove leading zero from numbers
rotate2dmatrix()
Rotate a 2-column matrix
signs_centered()
centered signed numbers
skewed_axis()
Draw skewed axes in ggplot2
snake2subscript()
Convert snake case to subscript
str_wrap_equal()
Wrap sentence strings into lines of roughly equal width
tri2cor()
Create square correlation matrix from lower triangle
vector_angle()
Compute the angle of a vector
x2z()
Convert x to a z-score