# Miscellaneous Utilities and Functions

## Documentation for package ‘JWileymisc’ version 1.4.4

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

.fround | Function to round and format a number
.quantilePercentiles | Internal Function to Calculate Quantiles
aces_daily | Multilevel Daily Data Example
APAStyler | A generic function for pretty printing in (semi) APA Style
APAStyler.list | APAStyler method for lists
APAStyler.lm | APAStyler method for linear models
APAStyler.mira | A generic function for pretty printing in (semi) APA Style
APAStyler.modelTest.lm | APAStyler method for model tests from a linear model
APAStyler.modelTest.vglm | APAStyler method for model tests from a vglm multinomial model
APAStyler.SEMSummary | A generic function for pretty printing in (semi) APA Style
as.modelCompare | Compare Two Models
as.modelDiagnostics | Model Diagnostics Functions
as.modelPerformance | Return Indices of Model Performance
as.modelTest | Detailed Tests on Models
as.na | Coerces vectors to missing
as.residualDiagnostics | Residual Diagnostics Functions
as.testDistribution | Test the distribution of a variable against a specific distribution
cd | Change directory
compareIVs | Compares the effects of various independent variables on dependent variables
compressed RDS | Save and read RDS functions for using multithreaded "ZSTD" or "LZ4" compression
cor2cov | Convert a correlation matrix and standard deviations to a covariance matrix
corOK | Return a non-missing correlation matrix
corplot | Heatmap of a Correlation Matrix
cramerV | Calculate Phi or Cramer's V effect size
density_inversion | KDE-based Inverse CDF Sampling for Synthetic Data
diffCircular | Calculate the Circular Difference
egltable | Function makes nice tables
empirical_pvalue | Calculates an empirical p-value based on the data
findSigRegions | Function to find significant regions from an interaction
formatHtest | Function to format the reuslts of a hypothesis test as text
formatMedIQR | Function to format the median and IQR of a variable
formatPval | Function to simplify formatting p-values for easy viewing / publication
geom_tufterange | Tufte Range
gglikert | Creates a plot for likert scale
hashDataset | Create a character vector or file hash of a dataset and each variable
intSigRegGraph | Function to find significant regions from an interaction
is.modelCompare | Compare Two Models
is.modelDiagnostics | Model Diagnostics Functions
is.modelPerformance | Return Indices of Model Performance
is.modelTest | Detailed Tests on Models
is.naz | Is a variable missing, non finite or zero length character?
is.residualDiagnostics | Residual Diagnostics Functions
is.testDistribution | Test the distribution of a variable against a specific distribution
lagk | Create a lagged variable
lm2 | Modified lm() to use a specified design matrix
meanCircular | Calculate a Circular Mean
modelCompare | Compare Two Models
modelCompare.lm | Compare Two Models
modelDiagnostics | Model Diagnostics Functions
modelDiagnostics.lm | Model Diagnostics Functions
modelPerformance | Return Indices of Model Performance
modelPerformance.lm | Return Indices of Model Performance
modelTest | Detailed Tests on Models
modelTest.lm | Detailed Tests on Models
modelTest.vglm | Detailed Tests on Models
moments | Estimate the first and second moments
naz.omit | Missing and Zero Character Omit
param_summary | Calculates summaries for a parameter
param_summary_format | Format a data frame of summary statistics
plot-method | An S4 class to hold visual acuity summary data
plot.modelDiagnostics.lm | Plot Diagnostics for an lm model
plot.residualDiagnostics | Plot Residual Diagnostics Default Method
plot.SEMSummary | Plots SEMSummary object
plot.SEMSummary.list | Plots SEMSummary.list object
plot.testDistribution | Plot method for testDistribution objects
print-method | An S4 class to hold visual acuity data
R2 | Calculate R2 Values
R2.lm | Calculate R2 Values
readRDSfst | Save and read RDS functions for using multithreaded "ZSTD" or "LZ4" compression
residualDiagnostics | Residual Diagnostics Functions
residualDiagnostics.lm | Residual Diagnostics Functions
roundedfivenum | Calculate a rounded five number summary
saveRDSfst | Save and read RDS functions for using multithreaded "ZSTD" or "LZ4" compression
SEMSummary | Summary Statistics for a SEM Analysis
SEMSummary.fit | Summary Statistics for a SEM Analysis
show-method | An S4 class to hold visual acuity data
show-method | An S4 class to hold visual acuity summary data
smd | Calculate Standardized Mean Difference (SMD)
star | Function to simplify converting p-values to asterisks
summary-method | An S4 class to hold visual acuity data
testDistribution | Test the distribution of a variable against a specific distribution
testDistribution.default | Test the distribution of a variable against a specific distribution
theme_tufte | Tufte Inspired Theme
timeshift | Shift a time variable to have a new center (zero point)
TufteRange | Tufte Range
TukeyHSDgg | Tukey HSD Plot
VAConverter | Visual Acuity Converter
VAObject-class | An S4 class to hold visual acuity data
VASummaryObject-class | An S4 class to hold visual acuity summary data
winsorizor | Winsorize at specified percentiles
[-method | An S4 class to hold visual acuity data