ar<- c(18.9, 19.7, 21.1, 23.9, 26.5, 29.6, 30.0, 29.4, 29.3, 27.9, 23.6, 19.8, 25.0)
sort(ar, decreasing = FALSE)
## [1] 18.9 19.7 19.8 21.1 23.6 23.9 25.0 26.5 27.9 29.3 29.4 29.6 30.0
sort(ar, decreasing = TRUE)
## [1] 30.0 29.6 29.4 29.3 27.9 26.5 25.0 23.9 23.6 21.1 19.8 19.7 18.9
Serra, B. R. (2020, 12 diciembre). Tabla de frecuencias. Universo Formulas. https://www.universoformulas.com/estadistica/descriptiva/tabla-frecuencias/
library(fdth)
##
## Attaching package: 'fdth'
## The following objects are masked from 'package:stats':
##
## sd, var
tabla<- fdt(ar)
tabla
## Class limits f rf rf(%) cf cf(%)
## [18.71,21.03) 3 0.23 23.08 3 23.08
## [21.03,23.35) 1 0.08 7.69 4 30.77
## [23.35,25.66) 3 0.23 23.08 7 53.85
## [25.66,27.98) 2 0.15 15.38 9 69.23
## [27.98,30.3) 4 0.31 30.77 13 100.00
plot(tabla, type="fh")
plot(tabla, type="fp")
plot(tabla, type="rfh")
plot(tabla, type="rfp")
plot(tabla, type="cfh")
plot(tabla, type="cfp")
mean(ar)
## [1] 24.97692
median(ar)
## [1] 25
library(modeest)
##
## Attaching package: 'modeest'
## The following object is masked from 'package:fdth':
##
## mfv
mlv(ar, method = "mfv")
## [1] 18.9 19.7 19.8 21.1 23.6 23.9 25.0 26.5 27.9 29.3 29.4 29.6 30.0
Diseño Experimental. (s. f.). UNC. Recuperado 3 de septiembre de 2021, de http://red.unal.edu.co/cursos/ciencias/2001065/html/un1/cont_128_28.html
summary(ar)
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 18.90 21.10 25.00 24.98 29.30 30.00
Crear un diagrama de caja y bigotes. (s. f.). Tableau. Recuperado 3 de septiembre de 2021, de https://help.tableau.com/current/pro/desktop/es-es/buildexamples_boxplot.htm
boxplot(ar)