Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Apuntes para Control de R
Apuntes para Control de R
Attach(base)
prop.table(table(sexo))
SI QUIERO RESUMEN
summary(base)
== PARA BUSCAR UNA IGUALDAD, POR EJ: TODOS LOS QUE TENGAN
COMO SEXO: H
Min(edad) EL MINIMO
Max(edad) EL MAXIMO
mu=c()
for(i in 1:1000) {
M=sample(ingreso, 50)
mu[i]=mean(M)
}
GRAFICAMOS EL HISTOGRAMAS DE LAS MUESTRAS,
par(mfrow=c(1,2)) PARA QUE QUEPAN AMBOS GRAFICOS
hist(ingreso)
hist(mu)