轻松记录您
灵感和创意

R Markdown PDF输出

您可以使用预制模板,并且在rticles包中有一些很好的示例。 首先,我们必须安装该软件包:

install.packages(“rticles”)
安装后,您可以使用其中一个模板,例如“统计软件日志”:


author:
– name: FirstName LastName
affiliation: University/Company
address: >
First line
Second line
email: \email{name@company.com}
url: http://rstudio.com
– name: Second Author
affiliation: Affiliation
title:
formatted: “A Capitalized Title: Something about a Package \\pkg{foo}”
# If you use tex in the formatted title, also supply version without
plain: “A Capitalized Title: Something about a Package foo”
# For running headers, if needed
short: “\\pkg{foo}: A Capitalized Title”
abstract: >
The abstract of the article.
keywords:
# at least one keyword must be supplied
formatted: [keywords, not capitalized, “\\proglang{Java}”]
plain: [keywords, not capitalized, Java]
preamble: >
\usepackage{amsmath}
output: rticles::jss_article

未经允许不得转载:坚果之云 Markdown » R Markdown PDF输出
分享到: 更多 (0)

坚果云Markdown轻松记录您 灵感和创意

坚果云Markdown下载坚果云Markdown介绍