analysis/paper/render_paper.R

## Render both word and html documents
rmarkdown::render("analysis/paper/sim_survey_paper.Rmd", output_format = "all")

## Replace the +'s in the tables with empty space
ms <- readLines("analysis/paper/sim_survey_paper.html")
ms <- gsub("<code>[+]", "<code>&nbsp;", ms)
writeLines(ms, "analysis/paper/sim_survey_paper.html")
PaulRegular/surveyTestr documentation built on Feb. 4, 2025, 11:18 a.m.