Save previously constructed APA table objects in a single .doc file
Source:R/rtfOutput.R
apa.save.RdSave previously constructed APA table objects in a single .doc file
Examples
library(apaTables)
table1 <- apa.1way.table(iv = dose, dv = libido,
data = viagra, table.number = 1)
table2 <- apa.2way.table(iv1 = gender, iv2 = alcohol,
dv = attractiveness,
data = goggles, table.number = 1)
apa.save(filename = file.path(tempdir(), "my.tables.doc"), table1, table2)
# delete demo file
unlink(file.path(tempdir(), "my.tables.doc"))