A continuacion se detalla el un histograma con diferente tamaƱo de muestra y con base una data aleatoria normal.
par(mfrow = c(2,3))
a <- rnorm(10,5.8,0.5)
hist(a)
b <- rnorm(100,5.8,0.5)
hist(b)
c <- rnorm(1000,5.8,0.5)
hist(c)
d <- rnorm(10000,5.8,0.5)
hist(d)
e <- rnorm(100000,5.8,0.5)
hist(e)
f <- rnorm(1000000,5.8,0.5)
hist(f)