Package: WJSmisc 0.3

WJSmisc: Miscellaneous functions from W. Joel Schneider

Several functions I find useful.

Authors:W. Joel Schneider [aut, cre]

WJSmisc_0.3.tar.gz
WJSmisc_0.3.zip(r-4.5)WJSmisc_0.3.zip(r-4.4)WJSmisc_0.3.zip(r-4.3)
WJSmisc_0.3.tgz(r-4.4-any)WJSmisc_0.3.tgz(r-4.3-any)
WJSmisc_0.3.tar.gz(r-4.5-noble)WJSmisc_0.3.tar.gz(r-4.4-noble)
WJSmisc_0.3.tgz(r-4.4-emscripten)WJSmisc_0.3.tgz(r-4.3-emscripten)
WJSmisc.pdf |WJSmisc.html
WJSmisc/json (API)

# Install 'WJSmisc' in R:
install.packages('WJSmisc', repos = c('https://wjschne.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/wjschne/wjsmisc/issues

On CRAN:

2.88 score 5 stars 1 packages 10 scripts 51 exports 104 dependencies

Last updated 1 years agofrom:85d5841577. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-winOKNov 08 2024
R-4.5-linuxOKNov 08 2024
R-4.4-winOKNov 08 2024
R-4.4-macOKNov 08 2024
R-4.3-winOKNov 08 2024
R-4.3-macOKNov 08 2024

Exports::=.data%>%angle2hjustangle2vjustas_labelas_nameattach_functioncor_ellipsecor_heatcor_textcor2pcorcornames<-cross_vectorsdf2matrixenquoenquosexprgeom_richlabelget_quoteggsvgggtext_sizeinsert_latex_colorirt_plot_applatexarraylm_matrixmake_indicatorsmodregplotmultivariate_ciparallel_analysispaste_matrix_from_clipboardpdf2svgplot_loadingplotnormprob_labelproportion_roundproportion2percentilepthresholdpvalueAPArbeta_msremove_leading_zerorotate2dmatrixsigns_centeredskewed_axissnake2subscriptstr_wrap_equalsymsymstri2corvector_anglex2z

Dependencies:base64encbitbit64bslibcacachemclicliprclustercodetoolscolorspacecommonmarkcorrrcpp11crayoncurldata.tabledigestdplyrfansifarverfastmapfontawesomeforcatsforeachfsgclusgenericsggdendroggplot2ggrepelggtextglueGPArotationgridtextgtablehmshtmltoolshttpuvisobanditeratorsjpegjquerylibjsonlitelabelinglaterlatticelifecyclemagrittrmarkdownMASSMatrixmemoisemgcvmimemnormtmunsellnlmepatchworkpermutepillarpkgconfigplyrpngprettyunitsprogresspromisespsychpurrrqapR6rappdirsRColorBrewerRcppreadrregistryrlangrlistrstudioapisassscalesseriationshinysignssourcetoolsstringistringrsuperheattibbletidyrtidyselectTSPtzdbutf8vctrsveganviridisLitevroomwithrxfunXMLxml2xtableyaml

Readme and manuals

Help Manual

Help pageTopics
Convert angles to ggplot2 hjustangle2hjust
Convert angles to ggplot2 vjustangle2vjust
Converts the default values of a function's arguments to variables and attaches them to the global environmentattach_function
Generate correlation ellipse datacor_ellipse
Correlation plotcor_heat
Format text of a correlation matrixcor_text
Converts a correlation matrix to a partial correlation matrixcor2pcor
Name for square arrays like correlation matricescornames<-
Create unique combinations of vectorscross_vectors
Convert data.frame and tibbles to matrices with named rows and columnsdf2matrix
A wrapper for ggtext::geom_richtextgeom_richlabel
Retrieve text within a span or div with a named idget_quote
Save ggplot as .pdf, then convert to .svg via pdf2svgggsvg
Convert ggplot theme font size to geom_text sizeggtext_size
Insert latex colors into a matrixinsert_latex_color
IRT Plot Shiny Appirt_plot_app
Make latex arraylatexarray
Regression from correlation matrixlm_matrix
Make latent variable indicators with rbeta_ms functionmake_indicators
Simple slopes plotmodregplot
General a multivariate confidence interval for a set of scoresmultivariate_ci
ggplot of parallel analysis from the psych packageparallel_analysis
Paste matrix code from clipboardpaste_matrix_from_clipboard
Function that converts pdf files to svg. Must have the pdf2svg program installed (https://github.com/dawbarton/pdf2svg)pdf2svg
Creats a plot of factor loadingsplot_loading
Plot a normal distribution shading below xplotnorm
Format numeric probabilities as text labelsprob_label
Rounds proportions to significant digits both near 0 and 1proportion_round
Rounds proportions to significant digits both near 0 and 1, then converts to percentilesproportion2percentile
Probability a true score will be below a thresholdpthreshold
APA p-value roundingpvalueAPA
Random beta distribution with specified mean and sdrbeta_ms
Remove leading zero from numbersremove_leading_zero
Rotate a 2-column matrixrotate2dmatrix
centered signed numberssigns_centered
Draw skewed axes in ggplot2skewed_axis
Convert snake case to subscriptsnake2subscript
Wrap sentence strings into lines of roughly equal widthstr_wrap_equal
Create square correlation matrix from lower triangletri2cor
Compute the angle of a vectorvector_angle
Convert x to a z-scorex2z