Package apastyle. March 29, 2017

Similar documents
Package strat. November 23, 2016

Package datasets.load

Package ECctmc. May 1, 2018

Package optimus. March 24, 2017

Package fastdummies. January 8, 2018

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package crochet. January 8, 2018

Package kirby21.base

Package quadprogxt. February 4, 2018

Package spark. July 21, 2017

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0

Package validara. October 19, 2017

Package canvasxpress

Package robustreg. R topics documented: April 27, Version Date Title Robust Regression Functions

Package clipr. June 23, 2018

Package mgc. April 13, 2018

Package palmtree. January 16, 2018

Package bisect. April 16, 2018

Package ClusterBootstrap

Package readobj. November 2, 2017

Package epitab. July 4, 2018

Package inca. February 13, 2018

Package weco. May 4, 2018

Package shinyhelper. June 21, 2018

Package rmi. R topics documented: August 2, Title Mutual Information Estimators Version Author Isaac Michaud [cre, aut]

Package reval. May 26, 2015

Package fusionclust. September 19, 2017

Package edfreader. R topics documented: May 21, 2017

Package BiDimRegression

Package splithalf. March 17, 2018

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package SimilaR. June 21, 2018

Package jdx. R topics documented: January 9, Type Package Title 'Java' Data Exchange for 'R' and 'rjava'

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package SSLASSO. August 28, 2018

Package resumer. R topics documented: August 29, 2016

Package lumberjack. R topics documented: July 20, 2018

Package SEMrushR. November 3, 2018

Package sfc. August 29, 2016

Package erp.easy. March 2, 2017

Package fasttextr. May 12, 2017

Package ibm. August 29, 2016

Package MatchIt. April 18, 2017

Package MonteCarlo. April 23, 2017

Package UNF. June 13, 2017

Package TANDEM. R topics documented: June 15, Type Package

Package comparedf. February 11, 2019

Package nprotreg. October 14, 2018

Package quickreg. R topics documented:

Package vip. June 15, 2018

Package rdryad. June 18, 2018

Package rbraries. April 18, 2018

Package bigreadr. R topics documented: August 13, Version Date Title Read Large Text Files

Package getopt. February 16, 2018

Package jmetrik. March 15, 2015

Package dbx. July 5, 2018

Package modmarg. R topics documented:

Package texpreview. August 15, 2018

Package nonlinearicp

Package psda. September 5, 2017

Package glmnetutils. August 1, 2017

Package areaplot. October 18, 2017

Package heims. January 25, 2018

Package raker. October 10, 2017

Package TVsMiss. April 5, 2018

Package profvis. R topics documented:

Package svalues. July 15, 2018

Package vinereg. August 10, 2018

Package jstree. October 24, 2017

Package samplesizecmh

Package aws.transcribe

Package DataClean. August 29, 2016

Package QCAtools. January 3, 2017

Package mdftracks. February 6, 2017

Package WordR. September 7, 2017

Package PCADSC. April 19, 2017

Package qualmap. R topics documented: September 12, Type Package

Package tidystats. May 6, 2018

Package assortnet. January 18, 2016

Package postgistools

Package estprod. May 2, 2018

Package deductive. June 2, 2017

Package sigqc. June 13, 2018

Package RODBCext. July 31, 2017

Package pcr. November 20, 2017

Package IATScore. January 10, 2018

Package MOST. November 9, 2017

Package docxtools. July 6, 2018

Package sparsehessianfd

Package crossword.r. January 19, 2018

Package goodpractice

Package icesadvice. December 7, 2018

Package darksky. September 20, 2017

Package bayeslongitudinal

Package shinyfeedback

Package mmpa. March 22, 2017

Package widyr. August 14, 2017

Package ecoseries. R topics documented: September 27, 2017

Transcription:

Type Package Title Generate APA Tables for MS Word Version 0.5 Date 2017-03-29 Author Jort de Vreeze [aut, cre] Package apastyle March 29, 2017 Maintainer Jort de Vreeze <j.devreeze@iwm-tuebingen.de> Most psychological journals require that tables in a manuscript comply to APA (American Association of Psychology standards. Creating APA tables manually is often time consuming and prone to transcription errors. This package generates tables for MS Word ('.docx' extension in APA format automatically with just a few lines of code. License GPL-3 Depends R (>= 3.0.0 Imports ReporteRs, stats, utils Suggests testthat NeedsCompilation no RoxygenNote 5.0.1 Repository CRAN Date/Publication 2017-03-29 21:27:31 UTC R topics documented: apa.cor.matrix........................................ 2 apa.descriptives....................................... 3 apa.merge.......................................... 4 apa.regression........................................ 5 apa.signif.......................................... 6 apa.table........................................... 6 Index 9 1

2 apa.cor.matrix apa.cor.matrix Generic method to generate a correlation matrix with values Generic method to generate a correlation matrix with values apa.cor.matrix( =.frame(, position = "lower", sig = TRUE position sig Raw set with variables. (optional Specify whether the correlations should be displayed in the upper, or lower diagonal of the table. (optional Specify whether the significance should be displayed in a separate column. apa.cor.matrix object; a list consisting of the with correlation values smallest the smallest r value which is significant at p <.05. # Use apa.cor.matrix function apa.cor.matrix( =.frame( rnorm(100, mean = 0, sd = 1, position = "upper"

apa.descriptives 3 apa.descriptives Generic method to generate an APA style table with descriptives for MS Word. Generic method to generate an APA style table with descriptives for MS Word. apa.descriptives( =.frame(, variables = NULL, report = "", title = "APA Table", filename = "APA Table.docx", note = NULL, position = "lower", merge = FALSE, sig = TRUE, landscape = FALSE, = TRUE variables Raw set with variables. The variable names for in the table. report (optional Specify which descriptive statistics to report. Use a subset from c("m", "SD", "r". title filename note position merge sig landscape Details (optional Name of the table. (optional Specify the filename (including valid.docx extension. (optional Add a footnote to the bottom of the table. (optional Specify whether the correlations should be displayed in the upper, or lower diagonal of the table. (optional Set (TRUE if the mean and standard deviation columns should be merged into one column. (optional Specify whether the significance should be displayed in a separate column. (optional Set (TRUE if the table should be generated in landscape mode. (optional Set (FALSE if the table should not be d in a document. This method can automatically generate tables with descriptive statistics. It s possible to specify which descriptives should be displayed. The default setting displays all the means, standard deviations, and a correlation matrix. This can user specified changing the (report parameter. For large tables it is also possible to merge the mean and stadard deviation in one column M (SD. This can be done by setting the merge parameter to TRUE. It s also possible to make the columns of the correlation matrix smaller, by removing the significance asterisks in the table. The significance of the correlation values are highlighted in a footnote (e.g, Correlation coefficients > 0.23 are significant at p < 0.036.". This can be done by setting the sig parameter to FALSE.

4 apa.merge apa.descriptives object; a list consisting of table flag which indicates whther the document is d set with descriptive statistics FlexTable {ReporteRs} object # Use apa.descriptives function apa.descriptives( =.frame( rnorm(100, mean = 0, sd = 1, variables = c("column 1", "Column 2", "Column 3", "Column 4" apa.merge Generic method to merge two vectors and create a header Generic method to merge two vectors and create a header apa.merge(a = NULL, b = NULL, header = NULL a b header s in the first column. s in the second column. Vector with both column names. apa.merge object; a list consisting of header the merged the header for the merged

apa.regression 5 # Use apa.merge function apa.merge(a = b = header = c("m", "SD" apa.regression Generic method to generate an APA style table with regression parameters for MS Word. Generic method to generate an APA style table with regression parameters for MS Word. apa.regression(..., variables = NULL, number = "XX", title = "APA Table", filename = "APA Table.docx", note = NULL, landscape = FALSE, = TRUE, type = "wide"... Regression (i.e., lm result objects. variables The variable names for in the table. number (optional The table number in the document. title (optional Name of the table. filename (optional Specify the filename (including valid.docx extension. note (optional Add a footnote to the bottom of the table. landscape (optional Set (TRUE if the table should be generated in landscape mode. (optional Set (FALSE if the table should not be d in a document. type (optional Not implemented. apa.regression object; a list consisting of table flag which indicates whther the document is d set with regression statistics FlexTable {ReporteRs} object

6 apa.table apa.signif Generic method to make a footnote indicating significant values. Generic method to make a footnote indicating significant values. apa.signif( =.frame( Dataset with statistics. apa.signif object; a list consisting of signif pot {ReporteRs} object # Specify statistics example <-.frame( c("column 1", "Column 2", "Column 3", c(3.45, 5.21, 2.64, c("**", "", "***" # Use apa.descriptives function apa.signif( = example apa.table Generic method to generate an APA style table for MS Word Generic method to generate an APA style table for MS Word apa.table( =.frame(, level1.header = NULL, level1.colspan = NULL, level2.header = NULL, number = "XX", title = "APA Table", filename = "APA Table.docx", note = NULL, landscape = FALSE, = TRUE

apa.table 7 level1.header Dataset with statistics. The column names for the first header in the table. level1.colspan (optional The colspan for the first header column. level2.header number title filename note landscape Details (optional The column names for the second header in the table. (optional The table number in the document. (optional Name of the table. (optional Specify the filename (including valid.docx extension. (optional Add a footnote to the bottom of the table. (optional Set (TRUE if the table should be generated in landscape mode. (optional Set (FALSE if the table should not be d in a document. This method can generate tables with two headers. If two headers are required, it is necesary to specifify the colspan for the upper level (level1.colspan. If only one header is required only the header items need to be specified for level1.header, and level1.colspan and level2.header do not need be specified. This method allows users to specify a column in which either the level of significance (header: "*", or a subscript (header: "_" is given. For example, when there is a column with a F-value and there shouldn t be an additional column with the corresponding p-values, it is possible to specify an additional column with significant values (i.e., +p <.10; *p <.05; **p <.01; ***p <.001 which will be merged as one column in the final table. Often it is necesary to provide a table with the means from different groups or conditions. Using the subscript header ("_" it is possible to supply a column with subscripts which indicates which means on a row significantly differ from each other. apa.table object; a list consisting of table flag which indicates whether the document is d FlexTable {ReporteRs} object # Use apa.table function with a minimum of parameters # Specify statistics example <-.frame( c("column 1", "Column 2", "Column 3", c(3.45, 5.21, 2.64, c(1.23, 1.06, 1.12

8 apa.table # Create table apa.table( = example, level1.header = c("variable", "M", "SD" # Create a table with two headers # Specify statistics example <-.frame( c("column 1", "Column 2", "Column 3", c(3.45, 5.21, 2.64, c(1.23, 1.06, 1.12, c(8.22, 25.12, 30.27, c("+", "**", "***" # Run method and preview table apa.table( = example, level1.header = c("", "Descriptives", "Inferential", level1.colspan = c(1, 2, 2, level2.header = c("variable", "M", "SD", "t-value", "*" $table

Index apa.cor.matrix, 2 apa.descriptives, 3 apa.merge, 4 apa.regression, 5 apa.signif, 6 apa.table, 6 9