Learn R Programming

apaTables (version 1.5.0)

apa.d.table: Creates a d-values for all paired comparisons in APA style

Description

Creates a d-values for all paired comparisons in APA style

Usage

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

Arguments

iv

Name of independent variable column in data frame for all paired comparisons

dv

Name of dependent variable column in data frame for all paired comparisons

data

Project data frame name

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.

landscape

(TRUE/FALSE) Make RTF file landscape

Value

APA table object

Examples

Run this code
# View top few rows of viagra data set from Discovering Statistics Using R
head(viagra)

# Use apa.d.table function
apa.d.table(iv=dose,dv=libido,data=viagra,filename="ex1_d_table.doc")

Run the code above in your browser using DataLab