2013-01-01ãã1å¹´éã®è¨äºä¸è¦§
ããã«ã¡ã¯ãR Advent Calendar 20æ¥ç®ã§ãã ä¸äººã§ãç§ã¯çãããããã©ãã§ã誰ãã¨ãªãã°äººçã¯ã¯ããã«éãã¾ããã ä¸å³¶ã¿ãããããæã£ã¦ããã®ã§ééããªãã¨æãã¾ãã ãããªäººã¨ã®é¢ãããé¿ããããªãä¸ã®ä¸ã§ãreproducibleãªç°å¢ãä½ããã¨ã¯â¦
ã¡ã¢ãããå®æçã«è¦è¿ããªãã¨ãªã«ãè¦ãã¦ããªãã®ã§è¦è¿ããã tsneã®è©± 次å åæ¸ã®ææ³ cranã«ãå®è£ ããããã©é ãã¨ã®ãã¨ãã¨ãããããã¤ããªä½¿ãã®ããããã http://homepage.tudelft.nl/19j49/t-SNE.html http://scwn.net/2010/02/20/new-t-sne-â¦
rga.openããåã«ä»¥ä¸ãå®è¡ããã options(RCurlOptions = list(verbose = FALSE, capath = system.file("CurlSSL", "cacert.pem", package = "RCurl"), ssl.verifypeer = FALSE)) https://github.com/skardhamar/rga/issues/6
ä¹ ã ã«ä½¿ãã¨ä½¿ãæ¹ã¨ãå¿ããã¡ãªã®ã§ã ã¨ãããã以ä¸ã®ããã«æ¸ãã°åºåã¯ã§ããã library(XLConnect) wb <- loadWorkbook("ãããã®ãã¼ã¿.xls", create=TRUE) wb["ããã"] <- iris # çµã¿è¾¼ã¿ã®irisãã¼ã¿ wb["è»"] <- mtcars # çµã¿è¾¼ã¿ã®mtcarsãâ¦
ãã®è¨äºãèªãã§ã¦ããããã°require使ãã°æ»ãå¤ãè«çå¤ã§è¿ã£ã¦ããããä¸è¡ã«ãªããªãã¨ãæã£ãã http://d.hatena.ne.jp/teramonagi/20130823/1377291452 äºè¡ãä¸è¡ã«ãªãã ããªã®ã§ããããã¿èããã©ã ã¡ãªã¿ã«libraryã§ãlogical.returnãTRUEã«â¦
ãããªè³æãããã¾ãã ãplyrããã±ã¼ã¸ã§åãåå¦çã¹ã¿âãæ¹ããplyrããã±ã¼ã¸å¾¹åºå ¥éã http://www.slideshare.net/teramonagi/tokyo-r30-20130420plyrããã±ã¼ã¸ã¯é常ã«ä¾¿å©ãªã®ã§ãããã¨ã¦ã大ããªãã¼ã¿ã«å¯¾ãã¦ã¯é ãã ddplyãããã©é ããé â¦
ä¸å¿ããããåã°ã©ãã¨ããè¸ã«è¿«ã3Dã°ã©ããªã©ç´ æµãªå¯è¦åãå··ã«æº¢ãã¦ããæ¨ä»ãçãã客観æ§ãä¿ã¤å¯è¦åãªãã©ã·ã¼ã¨ã¯ãªã«ãã¨ãããã¨ã«ã¤ãã¦é ãæ©ã¾ããã¦ããã¨æãã¾ãããããªç¾ç¶ã«éæ§ãä¸ãç´ æµãªããã±ã¼ã¸ãããã¾ãããã®åã¯xkcdã ãâ¦
Crowdsolving第3åãªã³ã¯äºæ¸¬ãå§ã¾ã£ãã https://crowdsolving.jp/node/629 ããã©ãçµæããã¡ãã¡è¦ã«è¡ãã®ãã ããã ã¨ãããã¨ã§ã¡ã¼ã«ã§é ä½ãå±ãããã«ãããã¾ãã¯2d-arrays-libraryã¨ããã©ã¤ãã©ãªãå¿ è¦ãªã®ã§ã¤ã³ã¹ãã¼ã«ãã¦ããã https:/â¦
Terraã¨ããLuaãã¼ã¹ã®è¨èªãããã http://terralang.org/ ã§ãRã®æ¡å¼µãæ¸ãéã«C++ã¨ãCã¨ã使ã代ããã«ãã®Terraã使ãã¨ãã話ããã¦ãã人ãããã http://people.mozilla.com/~sguha/blog/2013/05/21/Terra-and-R-Is-Terrific.html My reasons for â¦
å ãã¿ã¯ãã¡ã http://timelyportfolio.blogspot.jp/2013/07/all-my-roads-lead-back-to-financepimco.htmlgoogle analyticsã§ããã¦ã¼ã¶ã¼ããã¼ãã«ä½¿ããã¦ããsankey-diagramã¨ããå¯è¦åææ³ãããã http://en.wikipedia.org/wiki/Sankey_diagram ã§â¦
æ¡ä»¶ãas.POSIXctãªã©ã®é¢æ°ã使ã£ã¦å¤æãã¦ãããã¨ã data_sub <- subset(data, time>=as.POSIXct("2013-07-25 13:00:00")
å人ãããèããâã«ããããç¦å²¡ã§ã¯PM2.5ãæ¥å¸¸åãã¦ãããããã http://d.hatena.ne.jp/showgotch/20130522/1369225950æä¾ããã¦ããå¯è¦åã®ä»çµã¿ã¯ããã http://www.fukuokakanshi.com/kankyo/servlet/ctlLogin?flg=1&rflg=1使ãã¥ããã£ãã®ã§ç´â¦
以ä¸åç §ã ä¸éå¤ã¨ä¸éå¤ãããã£ã¦ããå ´åã«ã¯ï¼breaks ã®æåã¨æå¾ã«ããã¦ããã°ããã¨æãããç¥ããªããï¼right = TRUE, include.lowest = FALSE ã®ã¨ãã«ã¯ï¼æå°å¤ã¯ ã«ãªã£ã¦ãã¾ã http://aoki2.si.gunma-u.ac.jp/R/dp/recode.html
Lefté¢æ°çã§å¯¾å¦ããã http://support.microsoft.com/kb/889490/ja
ã»ãã¨ãã¯Pythonã§ããããã£ãã®ã ãããã¾ãåããªãã£ãã®ã§Rubyã®ã©ã¤ãã©ãªã使ãã ä¸è¨ããã¥ã¡ã³ãã®ã¹ãããã«å¾ãã°ããã ãã ããä¸å¿ä»¥ä¸ã«ã¡ã¢ã http://fitbitclient.com/guide/playing-with-the-fitgem-api fitbitAPIã¸ã®ã¢ã¯ã»ã¹ã«å¿ è¦ãªæ â¦
Juliaã«èå³ãããã Juliaãªããããã¨ãã人ã¯ä»¥ä¸ãåç §ã http://www.slideshare.net/wdkz/juliaglmRã«ã¯é常ã«ä¾¿å©ãªIDEã§ããã¨ããã®RStudioã¨ãããã®ãããã ããã¦Juliaã«ãJulia Studioãããã http://forio.com/julia/index ã¨ããããããã§â¦
http://sucrose.hatenablog.com/entry/2013/04/19/001748 http://d.hatena.ne.jp/repose/20130419/1366375616çµæãå¾®å¦ãªä¸ã«æ¢ã«ä¸ä½é£ãè¨äºãæ¸ãã¦ããã®ã§ãã¾ãããªæãããããè¨é²ã¨ãã¦ã ãã£ã¦ããã¨ãããªã«å¤ãããªãã£ããªã¼ã¨ããææ³ã 使â¦
foreignããã±ã¼ã¸ã®read.spssã ã¨æ¥æ¬èªãã£ã¼ã«ãåãç¨ãã¦ããspssã®ãã¡ã¤ã«ã«ããã¦ä»¥ä¸ã®ãããªã¨ã©ã¼ãåºãã error reading system-file header position 0: Variable name begins with invalid character memiscããã±ã¼ã¸ã®é¢æ°ã§ä»¥ä¸ã®ããã«å¯¾â¦
ddplyãPOSIXltãå«ããã¼ã¿ãã¬ã¼ã ã«é©ç¨ããã¨ä»¥ä¸ã®ãããªã¨ã©ã¼ãåºããã¨ãããã Error in attributes(out) <- attributes(col) : 'names' attribute [9] must be the same length as the vector [1] 対å¦æ³ã¨ãã¦ã¯2ã¤ã POSIXltãas.characterã§æâ¦
SMOTEãæ£ä¾ã»è² ä¾ã®æ°ãããããããªããªãã®ã§ã¡ã¢ãSMOTEå¾ã®æ£ä¾ã®æ°=(over.perc/100 + 1) * å ã®æ£ä¾ã®æ° SMOTEå¾ã®è² ä¾ã®æ°=(over.perc/100 * under.perc/100) * å ã®æ£ä¾ã®æ°
çµç·¯ ã¨ããäºæ ã§ã©ã³ãã ãã©ã¬ã¹ãã使ãããã®ã ãrandomForestããã±ã¼ã¸ã¯å åã®ã¬ãã«ã32ã¾ã§ã¨ããFORTRANå®è£ ãå¼ããã£ã¦ããä»åã®ãã¼ã¿ã«ã¯åããªãã ãªãã°ã¨partyããã±ã¼ã¸ã®cforestã使ã£ã¦ã¿ããä»åº¦ã¯ã¡ã¢ãªã足ããªããªã£ãã 諦ãã¦â¦
ã³ãã¯ã·ã§ã³éãå¿ãã¦ãã¦ãã¾ã«å°ããã¨ãããã®ã§ã¡ã¢ã closeAllConnections()
sqlSaveã使ã£ã¦ä¸è¨ã®ãããªã¨ã©ã¼ãåºãã 以ä¸ã«ã¨ã©ã¼ odbcUpdate(channel, query, mydata, coldata[m, ], test = test, : missing columns in 'data' ãããsqlSaveå ã§å¼ã³åºãããodbcUpdateã®ä¸ã§ä¸è¨ã®ãããªãã£ã¼ã«ãåãã§ãã¯ãè¡ã£ã¦ãæ´åãâ¦
ã¿ãã¯è¡¨ç¤ºããã¦ããã®ã«ã°ã¬ã¼ã¢ã¦ãããã¦ãã¦æä½ã§ããªãæã®ã¡ã¢ã http://social.msdn.microsoft.com/Forums/en/sqlkjpowerpivotforexcel/thread/5399fe5e-80e7-4304-83c2-7c50853be17b#f3769c5a-cfcb-4a58-9b32-2069e6a15c9e ãªãã·ã§ã³âã¢ãã¤ã³â管â¦
ã»ãã¥ãªãã£å¨ãã¯ããããããªãããã¤Î²çãªã®ã§æ³¨æãã¦ã使ç¨ãã ããã ãã¦ãRã§webã¢ããªãä½ããã¨ãããã¨ã§é¢ä¿è ãæ¦ã æã ã¨ããã¦ããshinyã§ãããRStudio社ã§ãã¹ãã£ã³ã°ãå§ã¾ã£ãã®ã§ãä½ã£ãwebã¢ããªãç°¡åã«å ¬éã§ããããã«ãªãã¾ããâ¦