Skip to contents

Variable Metadata

code_book()
Generate an interactive variable codebook
label_from_names()
Derive variable labels from column names name<sep>label
varlist() vl()
Generate a comprehensive summary of the variables

Tabulation

count_n()
Row-wise Count of Specific or Special Values
cross_tab()
Cross-tabulation
freq()
Frequency Table
mean_n()
Row Means with Optional Minimum Valid Values
sum_n()
Row Sums with Optional Minimum Valid Values

Measures of Association

assoc_measures()
Association measures summary table
contingency_coef()
Pearson's contingency coefficient
cramer_v()
Cramer's V
gamma_gk()
Goodman-Kruskal Gamma
goodman_kruskal_tau()
Goodman-Kruskal's Tau
kendall_tau_b()
Kendall's Tau-b
kendall_tau_c()
Kendall's Tau-c (Stuart's Tau-c)
lambda_gk()
Goodman-Kruskal's Lambda
phi()
Phi coefficient
somers_d()
Somers' D
uncertainty_coef()
Uncertainty Coefficient
yule_q()
Yule's Q

Summary tables

table_categorical()
Categorical summary table
table_continuous()
Continuous summary table
table_continuous_lm()
Continuous-outcome linear-model table

Export

copy_clipboard()
Copy data to the clipboard

Data

sochealth
Simulated social-health survey

ASCII helpers

build_ascii_table()
Build a formatted ASCII table
spicy_print_table()
Print a spicy-formatted ASCII table

Advanced S3 methods

print(<spicy_assoc_detail>)
Print a detailed association measure result
print(<spicy_assoc_table>)
Print an association measures summary table
print(<spicy_categorical_table>)
Print method for categorical summary tables
print(<spicy_continuous_lm_table>)
Print method for bivariate linear-model tables
print(<spicy_continuous_table>)
Print method for continuous summary tables
print(<spicy_cross_table>)
Print method for spicy_cross_table objects
print(<spicy_freq_table>)
Styled print method for freq() tables
spicy_tables
Spicy Table Engine: Frequency and Cross-tabulation Rendering