Created
May 22, 2019 23:17
-
-
Save LetticiaNicoli/a9761e92c9a7be068268785bdc54b332 to your computer and use it in GitHub Desktop.
R - Example Notebook Markdown
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| title: "Primeiros Passos" | |
| output: html_notebook | |
| --- | |
| Primeiro exemplo de notebook seguindo o [conteúdo](https://gist.github.com/LetticiaNicoli/4bc69bb982f070d337bc3dfae21a39c8) de vetores. | |
| Alguns exemplos de tipos de vetores: | |
| *Inteiro* | |
| ```{r} | |
| vetor_inteiro <- 11:13 | |
| ``` | |
| ***Numérico*** | |
| ```{r} | |
| vetor_numerico <- c(1.1,1.2,1.3) | |
| ``` | |
| **Texto** | |
| ```{r} | |
| vetor_texto <- letters[11:13] | |
| vetor_texto | |
| ``` | |
| **Dataset** | |
| ```{r echo=FALSE} | |
| data.frame("Inteiros" = 11:13, | |
| "Numéricos" = c(1.1,1.2,1.3), | |
| "Textos" = letters[11:13]) | |
| ``` | |
| Um exemplo de gráficos | |
| ```{r echo=FALSE} | |
| plot(c(1,8,3),c(1,9,3)) | |
| ``` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment