r2spss-package {r2spss}R Documentation

Format R Output to Look Like SPSS

Description

Create plots and LaTeX tables that look like SPSS output for use in teaching materials. Rather than copying-and-pasting SPSS output into documents, R code that mocks up SPSS output can be integrated directly into dynamic LaTeX documents with tools such as knitr. Functionality includes statistical techniques that are typically covered in introductory statistics classes: descriptive statistics, common hypothesis tests, ANOVA, and linear regression, as well as box plots, histograms, scatter plots, and line plots (including profile plots).

Details

The DESCRIPTION file:

Package: r2spss
Type: Package
Title: Format R Output to Look Like SPSS
Version: 0.3.2
Date: 2022-05-25
Description: Create plots and LaTeX tables that look like SPSS output for use in teaching materials. Rather than copying-and-pasting SPSS output into documents, R code that mocks up SPSS output can be integrated directly into dynamic LaTeX documents with tools such as knitr. Functionality includes statistical techniques that are typically covered in introductory statistics classes: descriptive statistics, common hypothesis tests, ANOVA, and linear regression, as well as box plots, histograms, scatter plots, and line plots (including profile plots).
License: GPL (>= 3)
URL: https://github.com/aalfons/r2spss
BugReports: https://github.com/aalfons/r2spss/issues
Depends: R (>= 3.5.0), ggplot2 (>= 3.3.0)
Imports: graphics, scales, stats, car
Suggests: knitr
LazyLoad: yes
VignetteBuilder: knitr
Authors@R: c(person("Andreas", "Alfons", email = "alfons@ese.eur.nl", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-2513-3788")))
Author: Andreas Alfons [aut, cre] (<https://orcid.org/0000-0002-2513-3788>)
Maintainer: Andreas Alfons <alfons@ese.eur.nl>
Encoding: UTF-8
RoxygenNote: 7.2.0

Index of help topics:

ANOVA                   One-way and Two-way ANOVA
Eredivisie              Football players of the Dutch Eredivisie season
                        2013-14
Exams                   Exam results of an applied statistics course
box_plot                Box Plots
chisq_test              Chi-squared Tests
descriptives            Descriptive Statistics
format_SPSS             Format Objects
histogram               Histogram
kruskal_test            Kruskal-Wallis Test
labels_SPSS             Format axis tick labels similar to SPSS
line_plot               Line Plots
palette_SPSS            SPSS Color Palette and Color Scales
r2spss-deprecated       Deprecated plot functions in r2spss
r2spss-package          Format R Output to Look Like SPSS
r2spss.sty              Create the LaTeX style file for 'r2spss'
r2spss_options          Options for package r2spss
regression              Linear Regression
scatter_plot            Scatter Plot and Scatter Plot Matrix
sign_test               Sign Test
t_test                  t Tests
theme_SPSS              Plot theme to mimic the look of SPSS graphs
to_SPSS                 Convert R Objects to SPSS-Style Tables
to_latex                Print LaTeX Tables that Mimic the Look of SPSS
                        Output
trimmed_mean            Trimmed mean
wilcoxon_test           Wilcoxon Signed Rank and Rank Sum Tests

Further information is available in the following vignettes:

r2spss-intro r2spss: Format R Output to Look Like SPSS (source)

Author(s)

Andreas Alfons [aut, cre] (<https://orcid.org/0000-0002-2513-3788>)

Maintainer: Andreas Alfons <alfons@ese.eur.nl>


[Package r2spss version 0.3.2 Index]