Medien & Phantastik > Multimedia - Software & Betriebsysteme
[Excel] Statistiker, wo seid Ihr? Histogramm mit Excel
Crazee:
Dann bleibt noch die Frage, wie es geht ;D
Dom:
Ich habs mit R gemacht. Das ist eine freie Statistik-Software, die mich immer wieder mit ihren Möglichkeiten überrascht und eine echte Alternative zu SPSS und Konsorten ist.
--- Code: ---x <- c(0, 1500, 400, 800, 1200)
y <- c("0-400", "400-500", "500-700", "700-1000", "1000-1400")
z <- c(rep(200,0),rep(450,1500),rep(600,400),rep(850,800),rep(1200,1200))
pdf("HistVsBalken",width=8,height=8) # Export in PDF
barplot(x,names.arg=y) # Plot von Seite 1
hist(z,breaks=c(0,400,500,700,1000,1400),freq=TRUE) # Plot von Seite 2, gibt Warnung "the AREAS in the plot are wrong"
hist(z,breaks=c(0,400,500,700,1000,1400)) # Plot von Seite 3
dev.off() # PDF-Export abschließen
--- Ende Code ---
Dom
Navigation
[0] Themen-Index
[*] Vorherige Sete
Zur normalen Ansicht wechseln