Package: r2spss 0.3.3

r2spss: Format R Output to Look Like SPSS

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).

Authors:Andreas Alfons [aut, cre]

r2spss_0.3.3.tar.gz
r2spss_0.3.3.zip(r-4.5)r2spss_0.3.3.zip(r-4.4)r2spss_0.3.3.zip(r-4.3)
r2spss_0.3.3.tgz(r-4.4-any)r2spss_0.3.3.tgz(r-4.3-any)
r2spss_0.3.3.tar.gz(r-4.5-noble)r2spss_0.3.3.tar.gz(r-4.4-noble)
r2spss_0.3.3.tgz(r-4.4-emscripten)r2spss_0.3.3.tgz(r-4.3-emscripten)
r2spss.pdf |r2spss.html
r2spss/json (API)
NEWS

# Install 'r2spss' in R:
install.packages('r2spss', repos = c('https://aalfons.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/aalfons/r2spss/issues

Datasets:
  • Eredivisie - Football players of the Dutch Eredivisie season 2013-14
  • Exams - Exam results of an applied statistics course

On CRAN:

40 exports 3 stars 0.93 score 59 dependencies 1 scripts 159 downloads

Last updated 2 years agofrom:84c1856d40. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 04 2024
R-4.5-winOKSep 04 2024
R-4.5-linuxOKSep 04 2024
R-4.4-winOKSep 04 2024
R-4.4-macOKSep 04 2024
R-4.3-winOKSep 04 2024
R-4.3-macOKSep 04 2024

Exports:ANOVAbox_plotboxplotSPSSchisq_testchisqTestdescriptivesformat_SPSSformatSPSShistogramhistSPSSkruskal_testkruskalTestline_plotlinesSPSSnumber_SPSSnumberSPSSpalette_SPSSpaletteSPSSplotSPSSr2spss_optionsr2spss.styregressionscale_color_SPSSscale_colour_SPSSscale_fill_SPSSscatter_plotsign_testsignTestSPSS_palsubstr_SPSSsubstrSPSSt_testtheme_SPSSto_latexto_spssto_SPSStrimmed_meantTestwilcoxon_testwilcoxonTest

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DerivdoBydplyrfansifarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6RColorBrewerRcppRcppEigenrlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

r2spss: Format R Output to Look Like SPSS

Rendered fromr2spss-intro.Rnwusingknitr::knitron Sep 04 2024.

Last update: 2022-03-23
Started: 2021-11-22

Readme and manuals

Help Manual

Help pageTopics
Format R Output to Look Like SPSSr2spss-package r2spss
One-way and Two-way ANOVAANOVA plot.ANOVA_SPSS print.ANOVA_SPSS to_SPSS.ANOVA_SPSS
Box Plotsbox_plot
Chi-squared TestschisqTest chisq_test print.chisq_test_SPSS to_SPSS.chisq_test_SPSS
Descriptive Statisticsdescriptives print.descriptives_SPSS to_SPSS.descriptives_SPSS
Football players of the Dutch Eredivisie season 2013-14Eredivisie
Exam results of an applied statistics courseExams
Format ObjectsformatSPSS format_SPSS format_SPSS.data.frame format_SPSS.default format_SPSS.integer format_SPSS.matrix format_SPSS.numeric
Histogramhistogram
Kruskal-Wallis TestkruskalTest kruskal_test print.kruskal_test_SPSS to_SPSS.kruskal_test_SPSS
Format axis tick labels similar to SPSSlabels_SPSS numberSPSS number_SPSS substrSPSS substr_SPSS
Line Plotsline_plot
SPSS Color Palette and Color ScalespaletteSPSS palette_SPSS scale_color_SPSS scale_colour_SPSS scale_fill_SPSS SPSS_pal
Options for package r2spssr2spss_options
Deprecated plot functions in r2spssboxplotSPSS histSPSS linesSPSS plotSPSS r2spss-deprecated
Create the LaTeX style file for 'r2spss'r2spss.sty
Linear Regressioncoef.regression_SPSS df.residual.regression_SPSS fitted.regression_SPSS plot.regression_SPSS print.regression_SPSS regression residuals.regression_SPSS to_SPSS.regression_SPSS
Scatter Plot and Scatter Plot Matrixscatter_plot
Sign Testprint.sign_test_SPSS signTest sign_test to_SPSS.sign_test_SPSS
t Testsprint.t_test_SPSS to_SPSS.t_test_SPSS tTest t_test
Plot theme to mimic the look of SPSS graphstheme_SPSS
Print LaTeX Tables that Mimic the Look of SPSS Outputto_latex to_latex.data.frame to_latex.SPSS_table
Convert R Objects to SPSS-Style Tablesto_SPSS to_spss
Trimmed meantrimmed_mean
Wilcoxon Signed Rank and Rank Sum Testsprint.wilcoxon_test_SPSS to_SPSS.wilcoxon_test_SPSS wilcoxonTest wilcoxon_test