rticles (version 0.4.1)

sim_article: Statistics in Medicine format.

Description

Format for creating submissions to Statistics in Medicine. Adapted from http://onlinelibrary.wiley.com/journal/10.1002/(ISSN)1097-0258/homepage/la_tex_class_file.htm.

Usage

sim_article(..., highlight = NULL, citation_package = "natbib")

Arguments

...

Additional arguments to rmarkdown::pdf_document

highlight

Syntax highlighting style. Supported styles include "default", "tango", "pygments", "kate", "monochrome", "espresso", "zenburn", and "haddock". Pass NULL to prevent syntax highlighting.

citation_package

The LaTeX package to process citations, natbib or biblatex. Use none if neither package is to be used.

Value

R Markdown output format to pass to render

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
library(rmarkdown)
draft("MyArticle.Rmd", template = "sim_article", package = "rticles")
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace