A continuación se presentará el informe parcial de análisis de datos a partir de la encuesta de latinobarómetro, administrada en el año 2023. Nos focalizaremos en la pregunta P18ST.A, que indaga por la actitud de las personas entrevistadas frente a la democracia.
La base de datos original puede ser consultada en la web de la corporación Latinobarometro, ver el siguiente link: http://https://www.latinobarometro.org/lat.jsp
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
## [1] 19205 274
table(data$P18ST.A)
##
## 1 2 3 4
## 3623 9076 4836 1077
mean(data$P18ST.A, na.rm = TRUE)
## [1] 2.180905
Como se puede apreciar en el anterior resutado, la base de datos contiene 19205 observaciones y 274 variables
## Warning: package 'ggplot2' was built under R version 4.5.1
Note that the echo = FALSE
parameter was added to the
code chunk to prevent printing of the R code that generated the
plot.