Skip to contents

Describe and explore

First look at variables and at the dataset as a whole.

jdesc()
Descriptive statistics for one or more variables
jfreq()
SPSS-like frequency tables for categorical variables
jscreen()
Data screening overview

Tests and models

Group comparisons, association, and regression.

jt()
Independent samples or paired samples t-test
jaov()
One-way ANOVA (traditional or Welch method)
jcrosstab()
Cross-tabulation with optional chi-square test of independence
jcorr()
Bivariate correlation matrix with p values and pairwise N
jlm()
SPSS-like linear regression output with standardized coefficients
jlogistic()
Logistic regression with SPSS-style output

Scales and reliability

Build scale scores and check internal consistency.

jalpha()
Cronbach's Alpha Reliability Analysis
jsum()
Compute a row-wise sum across multiple variables
javg()
Compute a row-wise mean across multiple variables

Prepare and manage your data

Recode, relabel, declare missing values, and select cases.

jrecode()
Recode a variable with explicit value mapping and optional labels
jrelabel()
Apply variable and value labels to a variable
jdeclare_udm()
Declare user-defined missing values on a variable
jsubset()
Set, activate, deactivate, or clear a per-dataset case-selection expression
jcomplete()
Set a listwise complete-case filter for matching N across analyses
jcopy()
Copy a data frame, carrying its classification registrations

Open, save, and convert files

Read and write SPSS, Stata, SAS, Excel, and CSV data.

jload()
Load a data file into R
jsave()
Save a data frame to a file
jconvert()
Convert user-defined missing value (UDM) declarations between formats
jdata_dir()
Return the configured data folder

Set up your session

Defaults and options for a working session, plus keeping your installed copy current.

juse()
Set or display the default data frame for jstats functions
joptions()
Set or display session-level package options
joutput()
Set session-level output verbosity
jupdate()
Update jstats to the latest version

Plots

jplot()
Visualise jst_* result objects or plot variables directly from a data frame

Fine-tuning: tell jstats how to treat a variable

Override how a variable is classified for analysis. Most users will not need these.

jnumeric()
Register variables as numeric for analysis
jdummy()
Register categorical variables for dummy coding in regression
jcount()
Register variables as counts for analysis
jlikert()
Register variables as Likert (ordered response) items

Datasets

The practice datasets that ship with the package.

community
Community survey example dataset
clinic
Clinic intervention example dataset