File:Kirolak barra diagrama.png
Summary
Description |
English: Category:PNG created with R#Kirolak%20barra%20diagrama.png
Bar chart created with R. Source code: > kirolak=c("t","g","g","r","r","r","r","h","h","h","d","d","d","d","d","d"
+ ,"e","e","e","e","e","k","k","s","s","s","s","ar","at","at")
> table(kirolak)
kirolak
ar at d e g h k r s t
1 2 6 5 2 3 2 4 4 1
> taula=sort(table(kirolak),decreasing=TRUE)
> taula
kirolak
d e r s h at g k ar t
6 5 4 4 3 2 2 2 1 1
> png("kirolak_barra_diagrama.png")
> par(mar=c(10,7,3,1))
> barplot(taula,col=c("pink"),las=1,
names.arg=c("Dantza","Ezer ez","Rugby","Saskibaloia","Haikido","Atletismoa",
"Gimnasia erritmikoa","Karate","Arrauna","Tenis"),
las=2,main="Kirolak",ylab="Maiztasuna",cex.lab=1.2)
> dev.off()
|
Date | |
Source | Own work |
Author | Joxemai |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.