• R/O
  • SSH

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

File Info

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.

Content

---
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`.