R: Creates a correlation table in APA style with means and...

apa.cor.table {apaTables} | R Documentation

## 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

    # View top few rows of attitude data set
    head(attitude)

    # Use apa.cor.table function
    apa.cor.table(attitude)
    apa.cor.table(attitude, show.conf.interval=FALSE)
    apa.cor.table(attitude, filename="ex.CorTable1.doc")
    apa.cor.table(attitude, show.conf.interval=FALSE, filename="ex.CorTable2.doc")

[Package apaTables version 2.0.2 Index]