Visualization

Functions for data visualization.

histogram()

A histogram

densityplot()

A density plot

scatterplot()

A two dimensional scatterplot

tukeyboxplot()

A Tukey box-and-whisker plot

pairs_plot()

A pairs plot

scatterplot_matrix()

Make a scatterplot matrix

interaction_line_plot()

Make a interaction line plot

Descriptive statistics

Functions for doing descriptive statistics.

describe()

Calculate descriptive statistics

describe_across()

Apply multiple descriptive functions to multiple variables

sum_xna() mean_xna() median_xna() iqr_xna() sd_xna() var_xna()

Descriptive statistics for variables with missing values

cor_test()

Test for Correlation Between Paired Samples

cor_test_multi()

Test for Correlation Between Paired Samples for 2 or More Variables

pairs_plot()

A pairs plot

Psychometric data analysis

Functions for use in psychometric data analysis

re_code()

Recode specified values by new values

cronbach()

Calculate Cronbach's alpha for sets of psychometric scale items

total_scores()

Calculate the total scores from sets of scores

Data wrangling

Functions to help with general data wrangling

remove_double_header()

Remove an additional header row from a data frame

rename_with_seq()

Rename selected columns as a sequence

drop_if_all_na()

Drop rows if all values on selected columns are missing

to_fixed_digits()

Format Numeric Columns to Fixed Digits

Statistical analysis

Functions for statistical analysis.

t_test()

Independent samples t-test

paired_t_test()

Paired samples t-test

pairwise_t_test()

Pairwise t-test

shapiro_test()

Shapiro-Wilk normality test

cohen_d()

Cohen's d and Hedges g effect size

get_dummy_code()

Show the dummy code of a categorical variable

ez_anova()

Analysis of variance

Data sets

Included data sets.

ansur

Anthropometric data from US Army Personnel

faithfulfaces

Faithfulness from a Photo?

vizverb

Visual versus Verbal Perception and Responses

schizophrenia

Age of Onset of Schizophrenia Data

pairedsleep

Paired sleep data

jobsatisfaction

Job Satisfaction Data for Two-Way ANOVA

selfesteem

Self-Esteem Score Data for One-way Repeated Measures ANOVA

selfesteem2

Self Esteem Score Data for Two-way Repeated Measures ANOVA

selfesteem2_long

Self Esteem Score Data for Two-way Repeated Measures ANOVA: Long format

test_psychometrics

Psychometrics raw data from testing or demo purposes