Created
February 28, 2015 06:51
-
-
Save mmajogn/8d9bf4d562eb85dd0fb7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#moda# | |
x<-c(3.0,5.8,5.6,4.8,5.1,3.6,5.5,4.7,5.7,5.0,5.9,5.7,4.4,5.4,4.2,5.3) | |
sort(x, decreasing=TRUE) | |
[1] 5.9 5.8 5.7 5.7 5.6 5.5 5.4 5.3 5.1 5.0 4.8 4.7 4.4 4.2 3.6 3.0 | |
y <- 5.7 | |
y | |
plot(x, col="blue", ylab="Eje Y", xlab="Eje X", main="Moda de datos") | |
points(y, col="brown") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment