Difference between revisions 5607 and 5610 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"> > notak=c(5,5,6,7,6,6,6,6,7,8,7,6,5,6,7,6,5,8,9,9,8,8,9,7,7) > notak.abs=table(notak) > notak.erl=prop.table(notak.abs) > barplot(notak.abs) > barplot(notak.erl) > barplot(notak.erl,ylim=c(0,40)) </source> ⏎ ⏎ Grafiko guzitetan ardatzetako etiketak zuzen jarri daitezke, ''las'' aukerari 1 balioa emanez (0, 1, 2 eta 3 balioak har ditzake): <source lang = "rsplus"> > barplot(notak.erl,ylim=c(0,40),las=1) </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=5610.
![]() ![]() 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.
|