Informe de Investigacion #el mumerales marca la gerarquia de titulos

titulo 2

titulo 3

El proposito del trabajo presente, es indagar la actitud de las personas frente a la democracia. la informacion fue obtenida de la base de datos de https://www.latinobarometro.org/

si yo quiero poner algo en Negrita y la cursiva cursiva

A continuacion incluyo el codigo de R utilizado para hacer el analisis:

Usaremos la funcion table()

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:

Latino <- read.csv("LATINO23.csv", na= "NA")
table(Latino$P18ST.A)
## 
##    1    2    3    4 
## 3623 9076 4836 1077

hacer una descripcion de los datos ## Including Plots

You can also embed plots, for example: Una democracia

grafico de actitud hacia la democracia

df <- as.data.frame(table(Latino$P18ST.A))
colnames(df) <- c("Actitud","Frecuencia")
library(ggplot2)
## Warning: package 'ggplot2' was built under R version 4.5.2
library(ggpattern)
## Warning: package 'ggpattern' was built under R version 4.5.2
ggplot(df, aes(x=Actitud, y=Frecuencia, fill = Actitud)) + 
  geom_bar(stat = "identity") +
scale_fill_hue(c = 40) +
  theme(legend.position = "none")

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.