spTools is a small collection of functions that add to the array of tools in Doug Bonett's statpsych package. Some functions provide calculations not present in statpsych, whereas other functions offer vector input versions of statpsych functions. Still other functions further standardize statpsych output.
This package is not currently available on CRAN. It can be installed directly from GitHub:
if (!requireNamespace("remotes", quietly = TRUE)) install.packages("remotes")
remotes::install_github("cwendorf/spTools")
library(spTools)If you prefer not to install the package, you can load the current functions directly:
source("https://raw.githubusercontent.com/cwendorf/spTools/main/source-spTools.R")This package includes the following documentation:
- Introduction: Overview of the package, listing of associated packages, and links to all resources.
- Reference: Documentation for all exported functions, including usage, arguments, return values, and examples.
- Articles: Examples demonstrating how to use
spToolsin conjunction withstatpsych.
Wendorf, C.A. (2026). spTools: Additional functions for the statpsych package [R Package]. https://github.com/cwendorf/spTools