Miscellaneous Utilities and Functions

acfByID | Estimate the effective sample size from longitudinal data |

APAStyler | A generic function for pretty printing in (semi) APA Style |

APAStyler.lm | A generic function for pretty printing in (semi) APA Style |

APAStyler.mira | A generic function for pretty printing in (semi) APA Style |

APAStyler.SEMSummary | A generic function for pretty printing in (semi) APA Style |

as.na | Coerces vectors to missing |

cd | Change directory |

CheckVals | Score a set of items to create overall scale score |

compareIVs | Compares the effects of various independent variables on... |

cor2cov | Convert a correlation matrix and standard deviations to a... |

corOK | Return a non-missing correlation matrix |

corplot | Heatmap of a Correlation Matrix |

egltable | Function makes nice tables |

empirical_pvalue | Calculates an empirical p-value based on the data |

ezMULTINOM | Calculates all pairwise contrasts and omnibus tests for... |

findSigRegions | Function to find significant regions from an interaction |

formatHtest | Function to format the reuslts of a hypothesis test as text |

formatLMER | Format results from a linear mixed model |

formatMedIQR | Function to format the median and IQR of a variable |

formatPval | Function to simplify formatting p-values for easy viewing /... |

f.r2 | Calculate F and p-value from the R2 |

gglikert | Creates a plot for likert scale |

iccMixed | Intraclass Correlation Coefficient (ICC) from Mixed Models |

internalcompareIV | Compares the effects of various independent variables |

internalformulaIt | Internal function to create a formula |

internalrunIt | Internal function to run a model using gam() |

intSigRegGraph | Function to find significant regions from an interaction |

lagk | Create a lagged variable |

logicals | Several logical range comparison helpers |

meanDecompose | Mean decomposition of a variable by group(s) |

meanDeviations | Function to calculate the mean and deviations from mean |

moments | Estimate the first and second moments |

mvqq | NOTE: this function is replaced and combined into the... |

nEffective | Estimate the effective sample size from longitudinal data |

param_summary | Calculates summaries for a parameter |

param_summary_format | Format a data frame of summary statistics |

plotDiagnosticsLM | Plot Diagnostics for an lm model |

plotDiagnosticsLMER | Plot Diagnostics for an lmer model |

plotDiagnosticsResiduals | Plot Residual Diagnostics |

plot.SEMSummary | Plots SEMSummary object |

plot.SEMSummary.list | Plots SEMSummary.list object |

R2LMER | Calculates the R2 from lmer models |

roundedfivenum | Calculate a rounded five number summary |

scoring | Score a set of items to create overall scale score - generic |

SEMSummary | Summary Statistics for a SEM Analysis |

SEMSummary.fit | Summary Statistics for a SEM Analysis |

star | Function to simplify converting p-values to asterisks |

testdistr | Graphically compare the distribution of a variable against a... |

timeshift | Shift a time variable to have a new center (zero point) |

TukeyHSDgg | Tukey HSD Plot |

updateInstall | Update R and install my core package set |

VAConverter | Visual Acuity Converter |

vainternal | Internal Visual Acuity Functions |

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 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.