Rev. | aa22023e835eeb73e75acf6fe08e34c7ffe16e5e |
---|---|
크기 | 254 bytes |
Time | 2021-03-15 19:39:06 |
Author | Lorenzo Isella |
Log Message | A short rmarkdown file illustrating how to use variables calculated in R inside the main text of a document. |
---
title: "Country Focus in the Year x."
output: word_document
---
```{r seq, echo=FALSE, eval=T}
library(tidyverse)
x <- tibble(value=seq(2000,2020)) %>%
pull(value) %>%
max()
y <- x*2
```
Section
The number of years is `r x` and `r y`.