0
여러 개의 그림과 표가있는 보고서를 작성 중입니다. 나는 그들과 함께 텍스트를 참조하고 싶다.그림에 링크하는 R 마크 다운
---
title: "Test"
output:
pdf_document
---
Figure \ref{test} is a graph
```{r test, fig.cap="This is a graph"}
df <- data.frame(gp = factor(rep(letters[1:3], each = 10)),
y = rnorm(30))
ggplot(df, aes(x = gp, y = y)) +
geom_point()
```
This is text to follow the diagram
\pagebreak
This is another page but can still link to Figure \ref{test}
그러나 결과는 다음과 같습니다 : 나는 다음과 같은 노력했습니다
Figure ?? is a graph
...
This is another page but can still link to Figure ??
는 R 인하에서이 작업을 수행 할 수있는 기본 방법이 자신에게
write functions에
감사합니다. – pluke