apaTables (version 2.0.5)

apa.cor.table: Creates a correlation table in APA style with means and standard deviations

Description

Creates a correlation table in APA style with means and standard deviations

Usage

apa.cor.table(data, filename = NA, table.number = NA,
  show.conf.interval = TRUE, landscape = TRUE)

Arguments

data

Project data frame

filename

(optional) Output filename document filename (must end in .rtf or .doc only)

table.number

Integer to use in table number output line

show.conf.interval

(TRUE/FALSE) Display confidence intervals in table. This argument is deprecated and will be removed from later versions.

landscape

(TRUE/FALSE) Make RTF file landscape

Value

APA table object

Examples

Run this code
# NOT RUN {
# View top few rows of attitude data set
head(attitude)

# Use apa.cor.table function
apa.cor.table(attitude)
apa.cor.table(attitude, filename="ex.CorTable1.doc")
# }

Run the code above in your browser using DataCamp Workspace