Package: jstats 0.9.267

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', 'Stata', or 'SAS'. 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 plotting. Supporting tools handle data management (recoding, labelling, encoding text as coded values, case selection, dummy coding, scale construction, data screening) and unified data import and export for 'SPSS', 'Stata', 'SAS', 'Excel', CSV, and R formats. Declared missing values are read and written faithfully in each platform's own convention, can be declared or converted between conventions within R, and suspected but undeclared missing-value codes are detected automatically. Functions accept unquoted variable names and formula syntax, handle 'haven'-labelled variables directly, and return results invisibly while printing readable tables. The package stays close enough to base R conventions that users learn transferable skills rather than a private dialect, easing the transition from 'SPSS', 'Stata', or 'SAS' into the broader R ecosystem.

Authors:Jeff Ackerman [aut, cre]

jstats_0.9.267.tar.gz
jstats_0.9.267.zip(r-4.7-any)jstats_0.9.267.zip(r-4.6-any)jstats_0.9.267.zip(r-4.5-any)
jstats_0.9.267.tgz(r-4.6-any)jstats_0.9.267.tgz(r-4.5-any)
jstats_0.9.267.tar.gz(r-4.7-any)jstats_0.9.267.tar.gz(r-4.6-any)
jstats_0.9.267.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
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:

3.26 score 33 exports 50 dependencies

Last updated from:32edb70bbc (on 0.9.267). Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK158
source / vignettesOK219
linux-releaseOK178
macos-releaseOK172
macos-oldrelOK201
windows-develOK157
windows-releaseOK162
windows-oldrelOK153
wasm-releaseOK101

Exports:jaijalphajaovjavgjcompletejconvertjcopyjcorrjcountjcrosstabjdata_dirjdeclare_missingjdescjdummyjencodejfreqjlikertjlmjloadjlogisticjnumericjoptionsjoutputjplotjrecodejrelabeljsavejscreenjsubsetjsumjtjupdatejuse

Dependencies:bitbit64callrcellrangerclicliprcpp11crayondplyrfarverforcatsgenericsggplot2gluegtablehavenhmsisobandlabelinglabelledlifecyclemagrittrotelpillarpkgconfigprettyunitsprocessxprogresspspurrrR6RColorBrewerreadrreadxlrematchrlangS7scalesstringistringrtibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithrwritexl

Readme and manuals

Help Manual

Help pageTopics
Clinic intervention example datasetclinic
Community survey example datasetcommunity
Print the jstats orientation, or install it for an AI assistantjai
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 missing-value 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 missing values on one or more variablesjdeclare_missing
Descriptive statistics for one or more variablesjdesc
Register categorical variables for dummy coding in regressionjdummy
Encode a text or factor variable as labelled numbersjencode
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
Visualize 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