-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsave_descriptive_articles_output.R
More file actions
26 lines (21 loc) · 1.38 KB
/
save_descriptive_articles_output.R
File metadata and controls
26 lines (21 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
library(dplyr)
library(flextable)
library(officer)
working_directory
## Saving descriptive articles output
flextable::save_as_docx(table_merged1, table_merged2,
path = base::file.path(output_Dir, "descriptive_articles_stats.docx"),
align = "center", #left, center (default) or right.
pr_section = officer::prop_section(
page_size = officer::page_size(orient = "landscape"), #Use NULL (default value) for no content.
page_margins = officer::page_mar(), #Use NULL (default value) for no content.
type = "nextPage", # "continuous", "evenPage", "oddPage", "nextColumn", "nextPage"
section_columns = NULL, #Use NULL (default value) for no content.
header_default = NULL, #Use NULL (default value) for no content.
header_even = NULL, #Use NULL (default value) for no content.
header_first = NULL, #Use NULL (default value) for no content.
footer_default = NULL, #Use NULL (default value) for no content.
footer_even = NULL, #Use NULL (default value) for no content.
footer_first = NULL #Use NULL (default value) for no content.
)
)