2010-06-01ãã1ã¶æéã®è¨äºä¸è¦§
æ£ã°ã©ãï¼é »åº¦ã¯æ¢ã«æ±ãã¦ããå ´åï¼âgeom_bar(stat="identity") 横ã«å転ãããâcoord_flip ã©ãã«ãã¤ããâggplot(data=data, aes(x=x, y=y, label=hoge))ã¨labelãæå®ãã¦ããã¦ãgeom_text(hjust=, vjust=)ãhjust/vjustã§ä½ç½®ã¯èª¿æ´ããã
SEM(æ§é æ¹ç¨å¼ã¢ããªã³ã°)ãåãä¸ããã¨ããã®ã§è¡ã£ã¦ãããä»åã§ç¬¬äºåãããã ä¼å ´ã«ã¯20人弱ã®åå è ãããã¾ã§åå ãã¦ããåå¼·ä¼ã¨ã¯ç°ãªã女æ§ãå¤ãã®ãå°è±¡çã ã£ãã éå§åã«ååºäº¤æã¿ã¤ã ããã£ããã©ãèªåã¯äººè¦ç¥ãã¢ã¼ããçºåããã®ã§â¦
æ¬ æãã¼ã¿ãã¨ã°ãã¦æãç·ã°ã©ãã§ã¤ãªãå ´å na.omitã§ãã¼ã¿æ¬ æãé¤ãã¦ããã¦ãgeom_pathã§ã¤ãªãã ç¹ã表示ãããæã¯geom_pointãéããã
geom_barã§å¹ ãå¤ãããæã¯geom_bar(width=)ã§æå®
ggplot2ã§ã©ãã«ãæ¥æ¬èªã«ãã¦ããããã¨PDFã§åºåããæã«æååãããã 解決çã¨ãã¦ã¯familyãJapan1ã«æå®ãã¦ããã ãããªæãã pdf("hoge.pdf", family=Japan1) å½ããåã®ãã¨ãããã®ãã°ã°ãã¦ãæ å ±ãè¦ã¤ããããªãã£ãã®ã§å¿ããªããã¡ã«ã¡â¦
gapminderã¨ãããã®ããã£ã¦ãæç³»åãã¼ã¿ãã°ã©ãã£ã«ã«ã«ææ¡ããã®ã«é常ã«ä½¿ããã googleã«ç¢ºãè²·åãããã®ã§ãmotion chartã¨ããå½¢ã§google docsã¨é£æºãå¯è½ã«ãªã£ã¦ããããããããwebä¸ã§ãã使ããªãã®ã§ãã¬ã¼ã³ã®è³æã¨ãã«è²¼ãè¾¼ã¿ã«ããâ¦