REPASO
summary("Tabla_actividad - Hoja 1 (1).csv")
## Length Class Mode
## 1 character character
act <- read.csv(file = "Tabla_actividad - Hoja 1 (1).csv")
You can also embed plots, for example:
print(head(act))
## Estratos Pre Pos
## 1 Estrato 0 0 5
## 2 Estrato 1 102 12
## 3 Estrato 2 197 28
## 4 Estrato 3 109 46
## 5 Estrato 4 26 61
## 6 Estrato 5 11 14
hchart(act, "pie",hcaes(x=Estratos, y=Pre)) %>%
hc_tooltip(crosshairs = TRUE, borderwidth = 25, sort = TRUE,
table = TRUE)%>%
hc_add_theme(hc_theme_538())
Note that the echo = FALSE parameter was added to the
code chunk to prevent printing of the R code that generated the
plot.