Update global.R
Browse files
global.R
CHANGED
@@ -28,40 +28,7 @@ Usted puede incluir chunks con operaciones, abajo un ejemplo.
|
|
28 |
```{r}
|
29 |
2*3
|
30 |
```
|
31 |
-
```{r}
|
32 |
-
x <- rnorm(n=50)
|
33 |
-
head(x)
|
34 |
-
mean(x)
|
35 |
-
```
|
36 |
-
|
37 |
-
## Seccion 2
|
38 |
-
|
39 |
-
you can load datasets and libraries
|
40 |
-
|
41 |
-
```{r}
|
42 |
-
library(magrittr)
|
43 |
-
library(datasets)
|
44 |
-
data(iris)
|
45 |
-
```
|
46 |
-
|
47 |
-
```{r}
|
48 |
-
knitr::kable(head(iris))
|
49 |
-
```
|
50 |
-
|
51 |
-
```{r}
|
52 |
-
iris %>%
|
53 |
-
group_by(Species) %>%
|
54 |
-
summarise(mean = mean(Sepal.Length), sd = sd(Sepal.Length))
|
55 |
-
|
56 |
-
```
|
57 |
|
58 |
-
## Secci贸n 3
|
59 |
-
|
60 |
-
Ahora es su turno, construya un chunk sencillo.
|
61 |
-
|
62 |
-
```{r}
|
63 |
-
# Escriba aqui algo
|
64 |
-
```
|
65 |
|
66 |
|
67 |
"
|
|
|
28 |
```{r}
|
29 |
2*3
|
30 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
|
34 |
"
|