2011-02-01ãã1ã¶æéã®è¨äºä¸è¦§
ä½æãã¼ã¿ãããã£ã¦å°å³ä¸ã«ããããããä»äºããã¾ã«ããã®ã§ãRgoogleMapsã§å¯¾å¿ãããã¨æã£ã¦ãããAPIã®ä»æ§ãå¤æ´ã«ãªã£ãããã§ããã®ã¾ã¾ã§ã¯ãã¼ã«ã¼ãããããã§ããªãã ä»æ¹ããªãã®ã§ã¨ããããåãé¢æ°ãä½ã£ãã ãã¨ããããããªã®ã§ã¹ã¯â¦
Rã§ã¯ãã¼ã¿ãµã¤ãºãæããããã«ããã©ã«ãã§æååãå åã«å¤æããããã¨ãããã ããééããã®ã¯ä»¥ä¸2ã¤ã®ã±ã¼ã¹ãªã®ã§å¯¾å¿çãã¡ã¢ read.csv()ã§csvãèªã¿è¾¼ãã¨ã as.is=TRUEã¨ãã read.csv("hoge.csv", as.is=TRUE) data.frame()ã§è¡åçããã¼ã¿â¦
reshapeé¢æ°ã®æåã«ã¯ãã¤ãæ©ã¾ãããã®ã§ã¡ã¢ã wideå½¢å¼ã«å¤æããæã«timevarã«æå®ããå¤æ°ã®ä¸¦ã³é ããã®ã¾ã¾åæ ãããã®ã§ãäºåã«ä¸¦ã³æ¿ãã¦ãããã¨ãå¿ è¦ã > index <- seq(1,10) > time <- rep(c(4,2,5,3,1), 2) > value <- seq(11,20) > > tesâ¦
ãã®1ã®ç¶ããã¨ã¯ããã³ã³ãã¹ãã¯ããã¶ãåã«çµãã£ã¦ãã¾ã£ãã®ã§ããã¯åå¿é²ã ã¦ã¼ã¶ã¼ã¨ããã±ã¼ã¸ã®ç¸äºé¢ä¿ æ¨æ¥ã¯ã¦ã¼ã¶ã¼ã¨ããã±ã¼ã¸ã®ããããã®è¦ç¹ããã®ã¤ã³ã¹ãã¼ã«å²åãã¿ããã¾ã¨ããã¨ä»¥ä¸ã®ããã«ãªãã ã¦ã¼ã¶ã¼ã¯ä¸äººãé¤ãã¨ããâ¦
ä¸ã®ãããªå½¢ã§æ½åºããã¨ããã®ããã¤ãå¿ããã data[data$V1%in%list$V2,]
ggplot2ã®ãã¼ãç·´ç¿ãã¦ããç»åãã¤ã¶ãã¦ãããä¸ã«ãªããå ¨ç¶éããã©ã¾ããããããå°ãããããã ã³ã¼ãã¯ä»¥ä¸ã®éãã library(ReadImages) library(ggplot2) data <- read.jpeg("maririn.jpg") #ç»åãã¡ã¤ã«ãæå® data #imagematrixã«å¤æããã¦â¦
Macã®Snow Leopardã§ç»åå¦çãã§ããï¼²ã®ããã±ã¼ã¸ã£ã¦æå¤ã¨å°ãªããrimageãbiOpsãEBImageã使ããªãããªãããªããã¨æ¢ãã¦ããReadImagesãªããã®ãçºè¦ããã®ã§ä½¿ã£ã¦ã¿ãã library(ReadImages) library(ggplot2) data <- read.jpeg("14.jpg") #ç»â¦
TEDã£ã¦ããããããªäººãæãæãã«ãã¬ã¼ã³ããéã¾ããããã ãã®ä¸ã§ãHans Roslingã£ã¦çµ±è¨å¦è ããã£ããã¬ã¼ã³ã¯çµæ§æåã ã§ãå½¼ã使ã£ããã¼ã«ã¯Gap minderã¨ããå称ã§å ¬éããã¦ããããã®å¾Googleã«ãè²·åããã¦Googleããã¥ã¡ã³ãã®Spreadsheeâ¦
makeClusterã§ã¯ã©ã¹ã¿ã¼ãç«ã¡ä¸ããéã«ãtypeã¨ãã¦SOCK以å¤ã«ãMPIãPVMãé¸ã¹ãã ä»åã¯MPIã使ã£ã¦é度ãæ¯è¼ãã¦ã¿ãã ã¡ãªã¿ã«MPIã«ã¤ãã¦ã¯ãã¡ããåç §ã http://www.cs.hiroshima-u.ac.jp/~yasuaki/dokuwiki/doku.php?id=mpi:mpiMPIã§è©¦ãã¦ã¿â¦
ååã®Rãªã³ã¡ã³ã«å¼ãç¶ããkaggleããå¥ã®ã³ã³ãã¹ãã http://www.kaggle.com/unimelb ãã¨1é±éã¨ã¾ãç· ãåãéè¿ã ä»åã¯ã°ã©ã³ãï¼ç 究費ï¼ãå½ãããã©ãããä¸ãããããã¼ã¿ï¼ã¡ã«ãã«ã³å¤§å¦ã®ã°ã©ã³ãå¿åãã¼ã¿ï¼ããã¨ã«äºæ¸¬ããã¨ãããã®ã â¦
è²ã 試ãããã©ããã®ãµã¤ãã®ããæ¹ã§æçµçã«ãã¾ããã£ãã http://d.hatena.ne.jp/Yamagutsu/20091115/ãã ãbuild_all.shã®gccã«é¢ãã¦ã®å¤æ´ã¯æ¸ãç´ããªãæ¹ããã¾ããã£ãã ãªããã¯ããããªãããªã«ã¯ã¨ãããåãã¦æ¬å½ã«ããã£ãã
ã©ã³ãã ãã©ã¬ã¹ãã¯çµæ§è¨ç®ã«æéããããããªã®ã§ä¸¦ååãã¦è¨ç®æéç縮ãå³ãããã å ·ä½çã«ã¯1000æ¬ã決å®æ¨ãã¤ããéã«2ã³ã¢ã®ãã·ã³ã§ããã°1ã³ã¢500æ¬ãã¤ã«åãã¦è¨ç®ãããããªã¤ã¡ã¼ã¸ã ä¸è¨ã¯2ã³ã¢ãã·ã³ã®ã³ã¼ãä¾ãï¼Using The foreach Pâ¦
id:teramonagiã®ãã®è¨äºã¨R-statistics Blogã®ãã®è¨äºãèªãã§ãdoSNOWã¨ãdoSMPã¨ãè²ã ãããã©ã©ããéããã ããã¨ããæ°ã«ãªã£ãã®ã§ã³ããã§æ¯è¼ãã¦ã¿ãã ã¨ããããã¯é度æ¯è¼ã ããèå¯ã¯ã¾ãä»åº¦ãï¼2æ9æ¥ã«è¿½è¨ï¼ > library(foreach) > > N <â¦
ããã®ã³ã³ãã¹ãã®ä¸ã¤ã«ï¼²ã®ããã±ã¼ã¸ã¨ã¦ã¼ã¶ã¼åï¼çªå·ï¼ã ãä¸ãããã¦ãã¤ã³ã¹ãã¼ã«ãããã©ãããäºæ¸¬ããã£ã¦ãã®ããããè¨ç·´ãã¼ã¿ã®æ¹ã«ã¯åä¸ã¦ã¼ã¶ã¼ãä»ã®ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãããã©ããã®æ å ±ã¨ãåããã±ã¼ã¸ã®æ å ±ï¼ä¾åããã±ã¼â¦
ã¬ã¼ãã¼ãã£ã¼ãæããªããã¿ãããªè©±ããã£ãã®ã§ãããggplot2ã§geom_lineã¨coord_polar使ãã°æ¥½åãããï¼ã¿ãããªé¢¨ã«æã£ã¦æããã¨ããããã¾ããããªãã£ãã ãªã®ã§ä»£æ¿æ段ã¨ãã¦plotrixããã±ã¼ã¸ã使ã£ãä¾ã示ãã¦ããã library(plotrix) valuâ¦