2014-02-01ãã1ã¶æéã®è¨äºä¸è¦§
æ¥æ¬ã®ã¿ããªã¯ãªã©ã¤ãªã¼ã®å¤å¼ãã»ã¼ã«ããã£ããé¨ãããã«å¹´ã«ä¸åº¦ã®ãªã©ã¤ãªã¼å¤§æè¬ç¥Strataã«ã¤ãã¦ã¯é¨ããªããæ®å¿µã§ãã http://strataconf.com/strata2014/public/content/home ä»æ¹ããªããããã¡ãã¡è±èªãèªãã§æ å ±åéãã¦ãããããã©ãã â¦
%.%æèã«ãªãã¨å°ãã§ãå¤ã%.%ã使ããããªãã¾ãã ãã¨ãã°irisãã¼ã¿ã«ããã¦Species以å¤ã®åãã¨ã®åãæ±ããéãé常ãªãããããã¨æãã¾ãã iris[,-5] %.% colSums() ãããããã§ã¯1 Hitã«ãããªãã¾ããã ç§ãªãããããã¾ãã iris %.% "["(,-â¦
å ¬éãã¦ããgoogle driveã®ãã¼ã¿ãread.csvã§ããªãã ãããé常ã®RãRStudioã§ã¯ã§ãããã ãã©ãRStudioä¸ã§knitHTMLããã¨ãã³ãã¯ã·ã§ã³ãéãã¾ããããªãã¨ã©ã¼ãåºãã ãããããªãã®ã§RCurlã®getURLçµç±ã§èªã¿è¾¼ãã ã library(RCurl) s <- "httâ¦
dplyrããã¼ã¦ã¼ã¶ã¼ã®çããã¯ãã£ã¨%.%ãå¤ç¨ããã¦ãããã¨ãã¨æãã¾ãã æ°æã¡ããã§ããã%.%ã ãããªæ°æã¡è¯ããè³ã§æãã¦çããã®%.%ã©ã¤ããå éãããããã±ã¼ã¸ãä½ãã¾ããã pingsé¢æ°ã«ã¤ã㦠pingsããã±ã¼ã¸ã®å 容ã¯pingsé¢æ°ã®ã¿ã§ããâ¦
ãã¼ã¿ã¸ã£ã¼ããªãºã ã«ããã¦èã¨ãªãã®ãããã¼ã¿ã®åå¾ã¨å¯è¦åã§ãã ä¸åç·ãã¼ã¿ã¸ã£ã¼ããªã¹ãã®æ代ããã®2ã¤ã®ã¹ãã«ã¯å¸¸ã«ç£¨ãã¦ããå¿ è¦ãããã§ãããã ã¨ãããã¨ã§ä»åã¯ä»¥ä¸ã®è¨äºã«ãã50 smartest companiesãä¸çã®ã©ãã«ããã®ããå¯è¦â¦
dplyrã¯ãã¼ã¿ãã¼ã¹ã«ã¤ãªãã§ãã®ã¾ã¾filterããsummariseã§ããããã¾ããã¨ãããã¨ãã§ããã ãã®ç´¹ä»è¨äºãæ¸ããã http://rpubs.com/dichika/dplyr_db
vignetteèªãã°ããã®ã ãæéã®ãªãæ¥æ¬äººã®ããã«vignetteãæ訳ãããããªè¨äºãæ¸ããã http://rpubs.com/dichika/dplyr_intro enjoy!!!
ãã¬ã¼ã³ããã®ãèªåã ã£ããè²ã 注æãæãã¾ãã ã§ãããã¬ã¼ã³ããã®ã¯å¾ã ã«ãã¦ä»äººã§ãã ãããªãã¨æ¥µåãªã¹ã¯ã¯æé¤ãã¦ããããã ãªã³ã©ã¤ã³ãæ³å®ãã¦ãã¦ããªãã©ã¤ã³ã§ãã¬ã¼ã³ããã¯ãã«ãªããã¨ãå¤ã ããã§ãããã slidifyã¯ç¾å¨onefileâ¦
Rã®çµæããã®ã¾ã¾ææ¸åãããã ã¨ãããããªæ¬²ã¯ç§ã«ã¯ããã¾ããã ãã¡ã¯ãã¯ã¼ãã¤ã³ãæåãªãã ã ãã rChartsãªã©ã使ã£ãinteractiveãªå³ã¯ç¾è¡ã®ãã¯ã¼ãã¤ã³ãã§ã¯å®ç¾ã§ããªãã ã¨ãããã¨ã§ãããªãR markdownç³»ã®è©±ã«æãã ããã¨ã«ããã â¦
æè¿ã¯GBMã°ã£ããã§ã©ã³ãã ãã©ã¬ã¹ãã¯åã¾ãç¬çã«ãã使ããªããã ãã©ãã¾ã«è©±é¡ã«åºãã®ã§ã¾ã¨ãã¦ããã Alternating Decision Forests ä¸è¨ã©ã³ãã ãã©ã¬ã¹ãã®è³æã®ä¸ã§è§¦ãããã¦ããAlternating Decision Forestsãæ°ã«ãªã£ãã http://www.haâ¦
Rããã¡ã¼ã«ãéãããã æ¤ç´¢ããããããªãµã¤ããåºã¦ããã sendmailRãEasyHTMLReportãªãããã±ã¼ã¸ããããã©ãããGmailã«ã¯å¯¾å¿ãã¦ããªãã£ã½ãã http://blog.yhathq.com/posts/building-email-reports-with-r.html Gmailã¯ä½¿ããªãã®ãã¨æ¢ããã¨â¦
rChartsã使ã£ã¦è¦ä»è·èªå®ã®ç¶æ³ãå¯è¦åããã http://rpubs.com/dichika/youkaigo ãã®éè²ã ã¨å°ã£ãã®ã§ã¡ã¢ã ä»åã¯d3.jsã®ã©ã¤ãã©ãªã®ä¸ã§ãNVd3nãç¨ããnPlotãå¯è¦åã«ä½¿ã£ãã®ã§ããã®è©±ãã¡ã¤ã³ã«ãªããããã以å¤ã®ã©ã¤ãã©ãªã使ãå ´åããâ¦
data scientistã¨ãã¦åé«ãDrew Conwayãä½ã£ã便å©ã¹ã¯ãªããData Science Boxã https://github.com/drewconway/data_science_box
rbind_allãfactorãå«ããã¼ã¿ãã¬ã¼ã ã«ä½¿ãã¨æåãå®å®ããªãã¨ã®ã³ã¡ã³ããããã ããã®ã§ããã£ã¨è¦ã¦ã¿ã¾ãããï¼musimasamiãããããã¨ããããã¾ãï¼ ã©ãã«åãç°ãªãå ´å è¦åä»ãã§characterã§è¿ã£ã¦ãã¾ãã rbindã®å ´åãã¬ãã«ã追å ãã¦facâ¦
å¥ã«ç§dplyrã®ã¨ãã³ã¸ã§ãªã¹ãã§ããªãã§ããªããã§ãããdplyrã使ã£ã¦ããä¸ã§ä½¿ç¨ä¾ãããã¤ã調ã¹ãã®ã§å ±æãã¾ãã ã¾ã ãããªã«ãããããªãã®ã§è±èªãæ¥æ¬èªãã¨ããã ãã§åãã¦ãã¾ãã dplyrã®ä½¿ãæ¹ç´¹ä»ï¼vignetteï¼ã¯ãã¡ãã http://cran.rstâ¦
Grammer of Graphicsã¨ããæ¬ãããã¾ãã http://www.amazon.co.jp/dp/0387245448 åæãé²ããä¸ã§ã®å¯è¦åã®ããæ¹ã説ããæ¬ã§ãã ãã®ææ³ã®ä¸æ ¸ã¯ã¨ãããããã¼ã¿ãå¯è¦åãã¦ãã®åå¸ã確èªãã¦ããã¨ããã¢ãããã¯ãªåææèããlayerãéãã¦ãâ¦
ãããªè©±ãããã¾ãã http://stackoverflow.com/questions/21477040/reshape2-multiple-results-of-aggregation-function/21485258?stw=2#21485258 %.%ã§ã¤ãªãã¦ãããã®ã¯dplyrã®é¢æ°ã ããã¨æãè¾¼ãã§ããã®ã ããããªãã¨ã¯ãªãã helpã®descriptionã«â¦
R has been seduced by the dark S of the Force. It is more PHP now than Lisp. Its mind is twisted and evil. But there is good in R, I can feel it. I can save it. I have to try. https://github.com/crowding/vadr/ãã¡ãããã¯ä»¥ä¸ã§ãã
ï¼rbind_allã¯deprecatedã¨ãªã£ã¦ããã代ããã«ç¾å¨ã¯bind_rowsãæ¨å¥¨ããã¦ãã¾ãï¼ãã¼ã¿ãã¬ã¼ã ã縦ã«çµåãã¦ããæãçããdo.call("rbind", list(data1, data2, data3))ã¿ãããªãã¨ãã£ã¦ããã¨æãã¾ãã ãããdplyrã«C++ã§æ¸ãç´ãããrbind_allâ¦
ãã£ããdata.tableã使ãããªã便å©æ¼ç®åãç¥ã£ã¦ããããã ä»åã¯%like%ã¨%between%ã®ï¼ã¤ããç´¹ä»ã ç¥ã£ã¦ããã¨ã¡ãã£ã¨ãã¼ã¿ãè¦ããæã¨ãã«ä½¿ãããããããªãã library(data.table) # likeã®ä¾ fla <- read.csv("http://www.jspanish.com/fla.câ¦
ä¸ã¤20MBå¼±ã®Wordãã¡ã¤ã«ã50ããã ãã¾ããã ãµã¤ãºã大ãããããããå°å·ããã¨ä¸é¨ã®ç»åãçã£é»ã«ãªãã¾ãã ãããã話ã§ã¯ããããã§ã http://okwave.jp/qa/q6238331.html PDFã«ãããã¨ã§çã£é»ã¯é¿ãããããã¨ããããã¾ããããã¡ã¤ã«æ°ãå¤â¦