A collection of miscellaneous tools and functions, such as tools to generate descriptive statistics tables, format output, visualize relations among variables or check distributions.
R package with general utility and convenience functions.
Some of these are general functions that help using and
exploring SEM style data. Others are more specific.
This package has grown out of my own work, and is often to automate
To get the latest development version, use:
To get the version on cran:
I do not have any vignettes or demos for this package. However, the functions are documented and I have included examples in the function documentation that are relatively basic. Below are just a few examples that I tend to use it for:
testdistr(resid(lm(Petal.Length ~ Species, data = iris)), "normal")
plot(SEMSummary(~ Petal.Length + Sepal.Length + Petal.Width + Sepal.Width, data = iris))
This package also has some utility functions used for other packages, such as calculating empirical p-values from bootstrapping or MCMC samples as from a Bayesian analysis, etc. These are probably less interesting to most users.
testdistr() function to plot data against different theoretical
ggplot2. A sort of generalized
allowing other distributions besides the normal distribution.
winsorizor() Function moved from
pscore package. Sets any values
beyond specific quantiles of the empirical data to the specified
quantiles. Can work on vectors, data frames, or matrices.
Initial release to CRAN.