
Knit a PDF document using the COS Preregistration Challenge questions
cos_prereg(...)
additional arguments to pdf_document
; template
is ignored.
# NOT RUN {
# Create R Markdown file
rmarkdown::draft(
"my_preregistration.Rmd"
, "cos_prereg"
, package = "prereg"
, create_dir = FALSE
, edit = FALSE
)
# Render file
rmarkdown::render("my_preregistration.Rmd")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab