2015-11-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¾ãdplyrã§mutate_each使ããã£ã¦è©±ã«ãªããããããªãããå¤é¨ããã±ã¼ã¸ãèªã¿è¾¼ãã®ãããã©ãããããã¯è¬ç¾©ãªã©ã§åå¿è ã«æããã®ãããã©ãã¨ãã«lapplyã使ããªããã°ãããªãããããªå ´é¢ãããã¨æãã¾ãã ããããlapplyã®çµæã¯ãªã¹ãã§è¿ã£ã¦â¦
ãããªè©±ãããã http://uribo.hatenablog.com/entry/2015/11/22/173837 ã¾ãå®è£ ãéããã ããã¨ãããã¨ã§ãé¢æ°ã®ä¸èº«ãã¿ã¦ã¿ãã¨ãexpand.gridã®ä¸ã§ã¯factoré¢æ°ã§uniqueé¢æ°ãããã¦levelsãæå®ãã¦ããã®ã«å¯¾ããas.data.frameã§ã¯levelsãæå®ãâ¦
æåã³ã¼ãåé¡ã¤ããã æåã³ã¼ãã®æ¨æ¸¬æ³ã«ã¤ãã¦ãr-wakalangã§è³ªåãããè²ã ã¨è§£æ±ºçãæãã¦ããã ããã rvestããã±ã¼ã¸ãç¨ããæ¹æ³ãããã§ã¡ã¢ãã¦ããã ã¡ãªã¿ã«guess_encodingé¢æ°ã¯stringiããã±ã¼ã¸ã®stri_enc_detecté¢æ°ã®ã©ããã¼ã§ããâ¦
å¤åãªäººã¯æãæ©ããã¹ã¿ã<GO>â ãã¯ã½ã¿ã¯ãã³ (@teramonagi) 2015, 11æ 13 ããããã®ãè¦ãã¨ä¿ºãããã°ããªããã°ã¨æããããã俺ã®å ´åãtwitterãè¦ãã¨çæ´»ãã ãããã æä¸ã§ã¯è¦ãªãããã«ãããã ã¨ãããã¨ã§æï¼ãï¼æã®éã§å¤åãªäººã®æ´»åé</go>â¦
ãããããã¼ã¿ãã¬ã¼ã ãããã¨ããã > (smp <- data.frame(`hoge(hage)`=1, fuga=2, check.names=FALSE)) hoge(hage) fuga 1 1 2 read.csvçã使ã£ã¦ãã¼ã¿ãèªã¿è¾¼ãã§ãcheck.names=FALSEãªã©ã«ãã¦ããªãéããååã®()ãªã©ã¯.ã«å¤æãããã ããããâ¦
æ¸å¼è¨å®ã¯ãã¾ã«ãã使ããªãã®ã§ãã£ããæååã§labels="comma"ã®ããã«æå®ãã¦ãã¾ãã ããã¦ãããããããªãã¨ã©ã¼ãåºã¦æ··ä¹±ããã æ ã¦ããªãæååãããªãã¦labels=commaã®ããã«æå®ããã°ããã ããªãã ã > library("ggplot2") > library("scâ¦