Difference between revisions 5617 and 5618 on euwikibooksR bereziki egokia da, estatistikako beste programen aldean, [[:w:datu-diagrama|datu-diagramak]] eratu eta manipulatzeko. == Sektore diagramak == Sektore diagramen bitartez aldagai kualitatibo bateko maiztasunak (absolutuak edo erlatiboak) irudikatu nahi dira. Beraz, lehendabizi maiztasunak kalkulatu behar dira, absolutuetarako ''table'' agindua erabiliz eta erlatiboetarako ''prop.table'' agindua erabiliz aurrekoaren gainean: (contracted; show full) <source lang = "rsplus"> > tarteak=c(0,2,5,8,10) > hist(x,breaks=tarteak,xaxt="n") > axis(1,tarteak) </source> Histograma oinarritzat harturik marrazten den [[:w:maiztasun-poligono|maiztasun-poligonoa]] ''agricolae'' paketearen ibitartez eratu behar da: <source lang = "rsplus"> > tarteak=c(0,2,4,6,8,10) > library(agricolae) > histograma=hist(x,breaks=tarteak) > polygon.freq(histograma,col="red",lwd=3) </source> All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://eu.wikibooks.org/w/index.php?diff=prev&oldid=5618.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|