apa.save | R Documentation |
Save previously constructed APA table objects in a single .doc file
apa.save(filename, ..., paper = "us")
filename |
Filename (e.g., my.tables.doc) |
... |
apaTable objects to be saved |
paper |
Use "us" or "a4". Default is "us". |
Save status
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")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.