Untitled

Author

Abel

Clase del 7 de septiembre de 2026

Lunes

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
#|echo: true
#|message: false

#Definimos un vector o extraemos datos.
edad_media = mean(~height, data = mosaicData::Galton)
edad_media
[1] 66.76069

\(sqrt(6)\)

\[ \bar{x}=67 \]

The echo: false option disables the printing of code (only output is displayed).