Generic method to generate an APA style table with regression parameters for MS Word.

Description

Generic method to generate an APA style table with regression parameters for MS Word.

Usage

1
2
3
apa.regression(..., variables = NULL, number = "XX", title = "APA Table",
  filename = "APA Table.docx", note = NULL, landscape = FALSE,
  save = TRUE, type = "wide")

Arguments

...

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.

save

(optional) Set (FALSE) if the table should not be saved in a document.

type

(optional) Not implemented.

Value

apa.regression object; a list consisting of

succes

message in case of an error

save

flag which indicates whther the document is saved

data

dataset with regression statistics

table

FlexTable {ReporteRs} object