参考书目样式小插图
我正在为r
中的软件包开发小插图,并希望在文档中包含一些引用。我希望引用看起来像“作者(年)不幸的是,我拥有的是(作者年)
---
title: "MNP: My New Package"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{MNP}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
bibliography: "economia.bib"
logo: logo.png
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
```{r setup}
library(MNP)
```
## Statement of the Research Problem
### Introduction
- [@Hall1995] and [@Politis2004]
I am developing vignette for a package in r
and wish to include some citations in the document. I want the citations to look like this `Author (year) unfortunately what I have is (Author year)
---
title: "MNP: My New Package"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{MNP}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
bibliography: "economia.bib"
logo: logo.png
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
```{r setup}
library(MNP)
```
## Statement of the Research Problem
### Introduction
- [@Hall1995] and [@Politis2004]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论