diff --git a/docs/files/img/breznau.png b/docs/files/img/breznau.png new file mode 100644 index 0000000..30d1c12 Binary files /dev/null and b/docs/files/img/breznau.png differ diff --git a/docs/files/img/carpetas.png b/docs/files/img/carpetas.png new file mode 100644 index 0000000..d7e8163 Binary files /dev/null and b/docs/files/img/carpetas.png differ diff --git a/docs/files/img/encuesta.png b/docs/files/img/encuesta.png new file mode 100644 index 0000000..0321d45 Binary files /dev/null and b/docs/files/img/encuesta.png differ diff --git a/docs/files/img/eval-hires.png b/docs/files/img/eval-hires.png index 7a963f5..fcbcc4a 100644 Binary files a/docs/files/img/eval-hires.png and b/docs/files/img/eval-hires.png differ diff --git a/docs/files/img/experiment.png b/docs/files/img/experiment.png new file mode 100644 index 0000000..9c07fec Binary files /dev/null and b/docs/files/img/experiment.png differ diff --git a/docs/files/img/flujo-acceso.png b/docs/files/img/flujo-acceso.png new file mode 100644 index 0000000..ef00f82 Binary files /dev/null and b/docs/files/img/flujo-acceso.png differ diff --git a/docs/files/img/flujo-herramientas.png b/docs/files/img/flujo-herramientas.png new file mode 100644 index 0000000..3fcbbf4 Binary files /dev/null and b/docs/files/img/flujo-herramientas.png differ diff --git a/docs/files/img/flujo.png b/docs/files/img/flujo.png new file mode 100644 index 0000000..de7642a Binary files /dev/null and b/docs/files/img/flujo.png differ diff --git a/docs/files/img/flujo_rep.png b/docs/files/img/flujo_rep.png new file mode 100644 index 0000000..c7db48c Binary files /dev/null and b/docs/files/img/flujo_rep.png differ diff --git a/docs/files/img/flujo_trans.png b/docs/files/img/flujo_trans.png new file mode 100644 index 0000000..0dc9b8d Binary files /dev/null and b/docs/files/img/flujo_trans.png differ diff --git a/docs/files/img/github.png b/docs/files/img/github.png new file mode 100644 index 0000000..c9904ee Binary files /dev/null and b/docs/files/img/github.png differ diff --git a/docs/files/img/inductivo-deductivo.png b/docs/files/img/inductivo-deductivo.png new file mode 100644 index 0000000..27ee829 Binary files /dev/null and b/docs/files/img/inductivo-deductivo.png differ diff --git a/docs/files/img/installR4.png b/docs/files/img/installR4.png new file mode 100644 index 0000000..0040a90 Binary files /dev/null and b/docs/files/img/installR4.png differ diff --git a/docs/files/img/ipo-hex.png b/docs/files/img/ipo-hex.png new file mode 100644 index 0000000..bea10d5 Binary files /dev/null and b/docs/files/img/ipo-hex.png differ diff --git a/docs/files/img/logos.png b/docs/files/img/logos.png new file mode 100644 index 0000000..77cb39e Binary files /dev/null and b/docs/files/img/logos.png differ diff --git a/docs/files/img/longitudinal.png b/docs/files/img/longitudinal.png new file mode 100644 index 0000000..e244c56 Binary files /dev/null and b/docs/files/img/longitudinal.png differ diff --git a/docs/files/img/nature-reproducibility-crisis.jpeg b/docs/files/img/nature-reproducibility-crisis.jpeg new file mode 100644 index 0000000..8c095b2 Binary files /dev/null and b/docs/files/img/nature-reproducibility-crisis.jpeg differ diff --git a/docs/files/img/operacionalizacion.png b/docs/files/img/operacionalizacion.png new file mode 100644 index 0000000..a8d6db9 Binary files /dev/null and b/docs/files/img/operacionalizacion.png differ diff --git a/docs/files/img/operacionalizacion2.png b/docs/files/img/operacionalizacion2.png new file mode 100644 index 0000000..8046ba9 Binary files /dev/null and b/docs/files/img/operacionalizacion2.png differ diff --git a/docs/files/img/presidenciales-cadem.jpg b/docs/files/img/presidenciales-cadem.jpg new file mode 100644 index 0000000..eace208 Binary files /dev/null and b/docs/files/img/presidenciales-cadem.jpg differ diff --git a/docs/files/img/processing.png b/docs/files/img/processing.png new file mode 100644 index 0000000..0163f4c Binary files /dev/null and b/docs/files/img/processing.png differ diff --git a/docs/files/img/produccion2.png b/docs/files/img/produccion2.png new file mode 100644 index 0000000..6b166cf Binary files /dev/null and b/docs/files/img/produccion2.png differ diff --git a/docs/files/img/profits.png b/docs/files/img/profits.png new file mode 100644 index 0000000..46aff33 Binary files /dev/null and b/docs/files/img/profits.png differ diff --git a/docs/files/img/quarto.png b/docs/files/img/quarto.png new file mode 100644 index 0000000..0e621aa Binary files /dev/null and b/docs/files/img/quarto.png differ diff --git a/docs/files/img/quarto2.png b/docs/files/img/quarto2.png new file mode 100644 index 0000000..d650e62 Binary files /dev/null and b/docs/files/img/quarto2.png differ diff --git a/docs/files/img/quarto3.png b/docs/files/img/quarto3.png new file mode 100644 index 0000000..8305a4b Binary files /dev/null and b/docs/files/img/quarto3.png differ diff --git a/docs/files/img/repositorio.png b/docs/files/img/repositorio.png new file mode 100644 index 0000000..aa16eb4 Binary files /dev/null and b/docs/files/img/repositorio.png differ diff --git a/docs/files/img/reproducibility_science.png b/docs/files/img/reproducibility_science.png new file mode 100644 index 0000000..d9d357f Binary files /dev/null and b/docs/files/img/reproducibility_science.png differ diff --git a/docs/files/img/transversal.png b/docs/files/img/transversal.png new file mode 100644 index 0000000..f290744 Binary files /dev/null and b/docs/files/img/transversal.png differ diff --git a/docs/files/img/url-pages.png b/docs/files/img/url-pages.png new file mode 100644 index 0000000..a0a660b Binary files /dev/null and b/docs/files/img/url-pages.png differ diff --git a/docs/files/img/zotero.png b/docs/files/img/zotero.png new file mode 100644 index 0000000..930d35d Binary files /dev/null and b/docs/files/img/zotero.png differ diff --git a/docs/files/img/zotero2.png b/docs/files/img/zotero2.png new file mode 100644 index 0000000..f103e9a Binary files /dev/null and b/docs/files/img/zotero2.png differ diff --git a/docs/resource/01-resource.html b/docs/resource/01-resource.html index 7873377..db3bde8 100644 --- a/docs/resource/01-resource.html +++ b/docs/resource/01-resource.html @@ -209,6 +209,14 @@

En esta página

  • 1. Librerías principales (de R) a utilizar
  • 2. Cargar base de datos
  • +
  • Otro ejemplo
  • + +
  • Parte 2 +
  • @@ -230,7 +238,7 @@

    Práctica 1. Aproximación inicial a R

    Fecha de publicación
    -

    17 de marzo de 2023

    +

    5 de abril de 2024

    @@ -325,15 +333,33 @@

    0. Ejemplos

    c <- a + b
    +

    Así como también agregar texto

    +
    +
    d <- "hola"
    +
    +d
    +
    +
    [1] "hola"
    +
    +
    +

    y operaciones un poco más complejas

    +
    +
    e <- b^2
    +
    +e + a * c
    +
    +
    [1] 1072
    +
    +

    Sin embargo, la mayor parte del tiempo usamos funciones que ya existen en R

    -
    sum(28,8)
    +
    sum(28,8)
    [1] 36
    -
    round(10.14536) #aproximar
    +
    round(10.14536) #aproximar
    [1] 10
    @@ -345,11 +371,11 @@

    1.

    La lógica de R es instalar librerías (solo 1 vez, con install.packages("librería")), y luego cargarlas cada vez que es necesario usarlas (con library(librería)). El problema de esto es que a veces no se sabe claramente qué librerías están instaladas y cuales no, lo que va a arrojar error al cargarlas. Y, como sucede en R, existe una librería para solucionar este problema que se llama pacman (package manager). Lo que hace pacman es cargar la librería, y si no está instalada, la instala y la carga:

    Para utilizar la primera vez (si es que no está instalada):

    -
    install.packages("pacman")
    +
    install.packages("pacman")

    Y en adelante, las librerías se cargan así pacman::p_load(libreria1,libreria2,libreriaX) :

    -
    pacman::p_load(dplyr, guaguas)
    +
    pacman::p_load(dplyr, guaguas, ggplot2)

    Para esta sesión las librerías que vamos a utilizar son: