Save previously constructed APA table objects in a single .doc file
Source:R/rtfOutput.R
apa.save.Rd
Save 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 = "my.tables.doc", table1, table2)
# delete demo file
if (file.exists("my.tables.doc")) {
file.remove("my.tables.doc")
}
#> [1] TRUE