Tarea 1

Author

Cristina Cruz

Clase del 7 de septiembre

Holisss

¿EH?

#| echo: true
#| message: false 

library(mosaic)
Warning: package 'mosaic' was built under R version 4.5.3
Registered S3 method overwritten by 'mosaic':
  method                           from   
  fortify.SpatialPolygonsDataFrame ggplot2

The 'mosaic' package masks several functions from core packages in order to add 
additional features.  The original behavior of these functions should not be affected by this.

Adjuntando el paquete: 'mosaic'
The following objects are masked from 'package:dplyr':

    count, do, tally
The following object is masked from 'package:Matrix':

    mean
The following object is masked from 'package:ggplot2':

    stat
The following objects are masked from 'package:stats':

    binom.test, cor, cor.test, cov, fivenum, IQR, median, prop.test,
    quantile, sd, t.test, var
The following objects are masked from 'package:base':

    max, mean, min, prod, range, sample, sum
#Definimos un vector o extraemos datos
edad_media <- mean(~height, data =mosaicData::Galton)
edad_media
[1] 66.76069

\(x+x=2x\)

La media muestral de la variable es:

\[ \bar{x}=67 \]

\[ \bar{x}=\sum_{i=0}^{n=20}\frac{x_i}{n} \]