Package: jstats 0.9.96

Jeff Ackerman

jstats: Simplified Statistical Analysis Tools for Social Science

Provides simplified tools for common statistical analyses used in social science research and teaching, with output formatted in the style of SPSS and Stata. Analysis functions include descriptive statistics, frequency tables, t-tests, ANOVA, correlations, chi-square tests, cross-tabulations, linear regression, logistic regression, and Cronbach's alpha, with built-in model diagnostics and publication-oriented plotting. Supporting tools handle data management (recoding, labelling, filtering, dummy coding, scale construction), automatic detection and handling of coded missing values, and unified data import and export for SPSS, Stata, SAS, Excel, CSV, and R formats. Functions accept unquoted variable names and formula syntax for ease of use, handle haven-labelled variables automatically, and return results invisibly while printing user-friendly tables. The package stays close enough to base R conventions that users learn transferable skills rather than a private dialect, supporting a smooth transition from SPSS, Stata, or SAS into the broader R ecosystem.

Authors:Jeff Ackerman [aut, cre]

jstats_0.9.96.tar.gz
jstats_0.9.96.zip(r-4.7)jstats_0.9.96.zip(r-4.6)jstats_0.9.96.zip(r-4.5)
jstats_0.9.96.tgz(r-4.6-any)jstats_0.9.96.tgz(r-4.5-any)
jstats_0.9.96.tar.gz(r-4.7-any)jstats_0.9.96.tar.gz(r-4.6-any)
jstats_0.9.96.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
jstats/json (API)

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

Bug tracker:https://github.com/jma61/jstats/issues

Pkgdown/docs site:https://jma61.github.io

Datasets:
  • clinic - Clinic intervention example dataset
  • community - Community survey example dataset

On CRAN:

Conda:

2.98 score 31 exports 50 dependencies

Last updated from:108257e7ff. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE147
source / vignettesOK172
linux-release-x86_64NOTE166
macos-release-arm64NOTE139
macos-oldrel-arm64NOTE82
windows-develNOTE99
windows-releaseNOTE105
windows-oldrelNOTE96
wasm-releaseOK124

Exports:jalphajaovjavgjcompletejconvertjcopyjcorrjcountjcrosstabjdata_dirjdeclare_udmjdescjdummyjfreqjlikertjlmjloadjlogisticjnumericjoptionsjoutputjplotjrecodejrelabeljsavejscreenjsubsetjsumjtjupdatejuse

Dependencies:bitbit64callrcellrangerclicliprcpp11crayondplyrfarverforcatsgenericsggplot2gluegtablehavenhmsisobandlabelinglabelledlifecyclemagrittrotelpillarpkgconfigprettyunitsprocessxprogresspspurrrR6RColorBrewerreadrreadxlrematchrlangS7scalesstringistringrtibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithrwritexl

Readme and manuals

Help Manual

Help pageTopics
Clinic intervention example datasetclinic
Community survey example datasetcommunity
Cronbach's Alpha Reliability Analysisjalpha
One-way ANOVA (traditional or Welch method)jaov
Compute a row-wise mean across multiple variablesjavg
Set a listwise complete-case filter for matching N across analysesjcomplete
Convert user-defined missing value (UDM) declarations between formatsjconvert
Copy a data frame, carrying its classification registrationsjcopy
Bivariate correlation matrix with p values and pairwise Njcorr
Register variables as counts for analysisjcount
Cross-tabulation with optional chi-square test of independencejcrosstab
Return the configured data folderjdata_dir
Declare user-defined missing values on a variablejdeclare_udm
Descriptive statistics for one or more variablesjdesc
Register categorical variables for dummy coding in regressionjdummy
SPSS-like frequency tables for categorical variablesjfreq
Register variables as Likert (ordered response) itemsjlikert
SPSS-like linear regression output with standardized coefficientsjlm
Load a data file into Rjload
Logistic regression with SPSS-style outputjlogistic
Register variables as numeric for analysisjnumeric
Set or display session-level package optionsjoptions
Set session-level output verbosityjoutput
Visualise jst_* result objects or plot variables directly from a data framejplot jplot.default jplot.jst_anova jplot.jst_corr jplot.jst_crosstab jplot.jst_desc jplot.jst_freq jplot.jst_lm jplot.jst_logistic jplot.jst_ttest
Recode a variable with explicit value mapping and optional labelsjrecode
Apply variable and value labels to a variablejrelabel
Save a data frame to a filejsave
Data screening overviewjscreen
Set, activate, deactivate, or clear a per-dataset case-selection expressionjsubset
Compute a row-wise sum across multiple variablesjsum
Independent samples or paired samples t-testjt
Update jstats to the latest versionjupdate
Set or display the default data frame for jstats functionsjuse