2016-11-01ãã1ã¶æéã®è¨äºä¸è¦§
å¾æ¥ã®éè¨å¦çãdplyrã«ç½®ãæãã¦ããä¸ã§ããããã¨ã©ã¼ãåºãã Error in function_list[[k]](value) : (list) object cannot be coerced to type 'double' ããã¾ã§ã¯åé¡ãªãéè¨å¦çã§ãã¦ããã®ã«dplyrã使ã£ãé端ãã®ã¨ã©ã¼ã§ããã åé¡ãçªãæ¢â¦
æè¿ã¹ã¯ã¬ã¤ãã³ã°ãã¦ãªãã®ã§ç´ æ¯ãããããã¨ã«ããã ä»åã¯å²¡æé幸ã®Wikipediaè¨äºå ã®çµæ´ã®é ç®ã«ããã人åãæ½åºãã¦çºãã¦ã¿ããã 以ä¸ã®æµãã§é²ããã1. ãã¼ã¸ãçºãã¦ãã¹ã¯ã¬ã¤ãã³ã°ã®å¯¾è±¡ã¨ããæç« ãåãè¾¼ã¾ãã¦ããå ´æãç¹å®ããã â¦
XLConnectã«dplyrçã§æä½ããå¾ã®tblã¯ã©ã¹ã®ãã¼ã¿ãã¤ã£ããã¨ã¨ã©ã¼ãåºãã ãã¨ãã°ä»¥ä¸ã®ãããªã³ã¼ããå®è¡ããã smp <- loadWorkbook("sample.xlsx", create=TRUE) smp["ãµã³ãã«"] <- iris %>% group_by(Species) %>% tally() ããããã¨ã©ã¼ãåºâ¦