Hide Comments (â) Share Hide Toolbars
1. ã¯ããã« ãã¼ãã¹ãã©ããä¿¡é ¼åºéã«ã¤ãã¦èª¿ã¹ã¦ãããã§ãããçè«çãªæ±ãæ¹ã¯æç§æ¸ãªã©ã«è¼ã£ã¦ããã®ã§ãããå®è·µçãªæ å ±ãå°ãªãããã«æãã¾ãã ä»åãå°ã調æ»ãã¦ã¿ã¦ãå®éã«é©ç¨ããéã«æ³¨æãå¿ è¦ã ãªã¨æãããã¨ã«ã¤ãã¦æ¸ãã¦ããã¾ãã 2. ãã¼ãã¹ãã©ããä¿¡é ¼åºé ãã¼ãã¹ãã©ããæ³ã¯ãçè«çã«æ±ããã®ãé£ããçµ±è¨éããçµé¨åå¸ããã®ã·ã³ãã«ãªãªãµã³ããªã³ã°ã«ãã£ã¦æ¨å®ã§ããã¨ããææ³ã§ãã ãã¼ãã¹ãã©ããæ³ã§ã¯ãæ¨å®ãããçµ±è¨éã«å¯¾ãã¦ããã®ä¿¡é ¼åºéãæ±ãããã¨ãã§ãã¾ãã ãã®ãããªä¿¡é ¼åºéããã¼ãã¹ãã©ããä¿¡é ¼åºéã¨ããã¾ãã ãã¼ãã¹ãã©ããä¿¡é ¼åºéãæ±ããæ¹æ³ã«ã¤ãã¦ã¯è²ã è°è«ãããããã§ããã主ãªææ³ã¯æ¬¡ã®5ã¤ã§ãã æ£è¦åå¸è¿ä¼¼æ³ ãã¼ã·ãã¯æ³ ãã¼ã»ã³ã¿ã¤ã«æ³ BCaæ³(bias-corrected and accelerated percentile me
Ready,Set,Goooo! Now, that the API access is set-up in the one side,we should make the connection to R. You should already know that RCurl is a bit tricky as I have oulined in the A tiny RCurl headache note. The solution proposed there is applied here as well. note that this issue will be solved in the next release of rga. On the other hand RGoogleAnalytics seems to be already on the spot. Have in
ã¯ã©ã¹ã¿ã¼åæ R ã§ã¯æ§ã ãªã¯ã©ã¹ã¿ã¼åæãè¡ããã¨ãã§ãã (cran task view)ãæ¬ç¨¿ã§ã¯é層çåéæ³ (hierarchical agglomerative) ãåå²æ³ (partitioning) ãã¢ãã«ãã¼ã¹æ³ (model based) ã«ã¤ãã¦èª¬æããã絶対ã«æ£ããã¨ããææ³ã¯ãªãã®ã§æ³¨æã åè Rã§ã¯ã©ã¹ã¿ã¼åæ Rã¨ã¯ã©ã¹ã¿ã¼åæ1 Rã¨ã¯ã©ã¹ã¿ã¼åæ2 ã¯ã©ã¹ã¿ãªã³ã°ã¨ã¯ (ã¯ã©ã¹ã¿ã¼åæã¨ã¯) ãã¯ã©ã¹ã¿ã¼åæã ãã¼ã¿ã®æºå æ¬ æå¤ãçãã¦ãããã¨ã # 足ç«æµ©å¹³ (2006). å¤å¤éãã¼ã¿è§£ææ³ââå¿çã»æè²ã»ç¤¾ä¼ç³»ã®ããã®å ¥éââããã«ãã·ã¤åºçã®ç¬¬2ç« ãããæè¬ mat <- matrix(c(3.2, 3.4, 3, 3.2, 4.2, 4, 4, 3.7, 3.6, 3.6, 3.7, 3.4, 3.2, 3.2, 2.7, 3.5, 3
2013å¹´4æ20æ¥ï¼åï¼ã«ãããã£æ ªå¼ä¼ç¤¾ã®ã»ããã¼ã«ã¼ã ã§ã第30åRåå¼·ä¼ï¼ æ±äº¬ï¼#TokyoRï¼ãéå¬ããã¾ããã#TokyoRã¯ãéæ´å¹³æ°(@yokkuns) ã主å¬ãã¦ããRè¨èªãå¦ã¶ããã°ã©ãã³ã°ã®åå¼·ä¼ã§ããä»åã¯100å以ä¸ã®åå å¸æããã£ããããè£æ¬ ãåºã¦ãã¾ã£ãã»ã©ã®äººæ°ã¤ãã³ãã§ãã ãããã Rè¨èªã¨ã¯ãçµ±è¨å¦çãå¾æã¨ããè¨èªã§ããããã¼ã¿ã®è§£æãå¯è¦åãªã©ãæ¯è¼çç°¡åã«å®è¡åºæ¥ããã¼ã«ã§ãã ä»åã¯ããã®äººæ°ã¤ãã³ãã§ãã第30åRåå¼·ä¼ï¼ æ±äº¬ã«ãéªéããå ¨5æéã«æ¸¡ãã¢ããå 容ãã¾ã¨ãã¦ãå±ããã¾ããã¾ããã¡ãã®åå¼·ä¼ã¾ã¨ãè¨äºã¯ãæ ªå¼ä¼ç¤¾ãªã¯ã«ã¼ããã£ãªã¢ãéå¶ãããCodeIQï¼ã³ã¼ãã¢ã¤ãã¥ã¼ï¼ãã®ãååã§æä¾ããã¦ããã¾ãã ï¼å½æ¥ã®ã¢ã¸ã§ã³ãï¼ ããã§ã¯ãåã»ãã·ã§ã³å 容ã®ãç´¹ä»ã§ãã åå¿è ã»ãã·ã§ã³1 ãã¯ããã¦ã®Rã æåã¯ãRæ´ä¸å¹´ã»ãã¸
ç¾ããæç»ãè¡ãããã®ããã±ã¼ã¸ã¨ãã¦æåãªggplot2ã®ä»²éï¼ã«GGallyããã±ã¼ã¸ãªããã®ããããããããã®ä¸ã®ggpairsé¢æ°ã使ãã¨ãµã¤ããããã¢ããããã楽ã«ä½æã§ããã ã§ããã®ã¯ãããã ãããã®é¢æ°ã使ã£ã¦plotããéã®ãã©ã³ããµã¤ãºå¤æ´æ¹æ³ãã°ã°ã£ã¦ãããã¥ã¢ã«èªãã§ãåºã¦æ¥ãªãã£ãã®ã§ã¡ã¢ã£ã¦ããã ä¾ã®ãã¨ããããã±ã¼ã¸ã¯ install.packages("GGally") ã§ã¤ã³ã¹ãã¼ã«ãã¦ããã èå¿ã®ãã©ã³ããµã¤ãºã®å¤æ´ã«ã¤ãã¦ã¯ãçµè«ã¨ãã¦paramså¼æ°ã«listã¨ãã¦å ¥ããã°ãããå種ãã©ã³ããµã¤ãºã«ã¤ãã¦ã¯ size:æ£å¸å³ã®ç¹ã®ãµã¤ãºï¼ä»åã¯ä½¿ç¨ãã¦ãªãï¼ labelSize:åé ç®ï¼ååï¼ã®æåãµã¤ãº corSize:ç¸é¢å¤ã®æåãµã¤ãº ã¨å¯¾å¿ãã¦ãããããããææã®ãµã¤ãºã«è¨å®ãã¦ããã°OKã ã*1 å®éã«PLOTãã¦ã¿ãã¨ä»¥ä¸ã®ãããªæã
My friend Jonah asked me to guest lecture in his R seminar aimed at grad students and postdocs in Integrative Biology. I gave Jonah a bunch of topics ranging from reproducible research with R to data manipulation. The consensus was data visualization so I put together a 2 hour talk/hands on presentation for ggplot2 beginners. Hereâs my presentation if anyone else might find it useful. What worked
RãRè¨èªãRç°å¢ã»ã»ã»ã»ã»ã» Rã®ãã¦ã³ãã¼ãã¨ã¤ã³ã¹ãã¼ã« ãªã³ã¯é é¡å Chap_01 ãã¼ã¿è§£æã»ãã¤ãã³ã°ã¨Rè¨èª Chap_0ï¼ Rã§ã®ãã¼ã¿ã®å ¥åºå Chap_03 Rã§ã®ãã¼ã¿ã®ç·¨éã¨æ¼ç® Chap_04 Rã¨åºæ¬çµ±è¨é Chap_05 Rã§ã®é¢æ°ãªãã¸ã§ã¯ã Chap_06 Rã§ã®ãã¼ã¿ã®è¦è¦å(1) Chap_07 Rã§ã®ãã¼ã¿ã®è¦è¦å(2) Chap_08 Rã§ã®ãã¼ã¿ã®è¦è¦å(3) Chap_09 GGobiã¨ãã¼ã¿ã®è¦è¦å(Rgobi) Chap_10 Rã¨ç¢ºçåå¸ Chap_11 Rã¨æ¨å® Chap_12 Rã¨æ¤å® Chap_13 Rã¨åæ£åæ Chap_14 Rã¨å帰åæ Chap_15 Rã¨éå帰åæ Chap_16 Rã¨ä¸è¬åç·å½¢ã¢ãã« Chap_17 Rã¨éç·å½¢ã¢ãã« Chap_18 Rã¨å¤å¥åæ Chap_19 Rã¨æ¨¹æ¨ã¢ãã« Chap_20 WEK
args é¢æ°ã使ããã¨ã§ï¼é¢æ°ã®å¼æ°ãªã¹ããåå¾ãããã¨ãã§ãã¾ãã args(sqrt) ããã§å¾ãããçµæã¯ã¯ãã¼ã¸ã£ãªãã¸ã§ã¯ããªã®ã§ï¼ formals é¢æ°ã«ããï¼ãªã¹ããªãã¸ã§ã¯ãã«ãããã¨ãã§ãã¾ãã formals(args(sqrt)) ãªã¹ããªã®ã§ï¼ length é¢æ°ã«ããå¼æ°ã®æ°ãå¾ããã¨ãã§ãã¾ã[A]ã length(formals(args(sqrt))) ãããç¨ãã¦ï¼ä¾ãã°ï¼ç¹å®ã®åå空éã«åå¨ãããã¹ã¦ã®é¢æ°ã®å¼æ°ã®æ°ãåå¾ãããå ´åã¯æ¬¡ã®ããã«ã§ãã¾ãã e <- asNamespace("stats") exports <- sapply(ls(envir=e), get, envir=e) functions <- exports[sapply(exports, is.function)] sapply(functions, function(f)
ãããããBayesæ¨å®ã½ããã¦ã§ã¢ã§ããStan 1.0.0ã¨ããã®Rã¤ã³ã¿ã¼ãã§ã¹ã®RStan 1.0.0ãçºè¡¨ããã¦ãã(Revolutions: RStan: Fast, multilevel Bayesian modeling in R)ã Stan â C++ â ãã¤ãã£ããã¤ã㪠ã¨ãã³ã³ãã¤ã«ãã¦é«éã«è¨ç®ã§ãã¨ãããã¨ã ã ãã£ãããããã¦ã¿ãã library(rstan) x <- rpois(30, 4) model <- ' data { int<lower=0> n; // number of data int<lower=0> x[n]; // data } parameters { real<lower=0> lambda; // mean } model { for (i in 1:n) { x[i] ~ poisson(lambda); } lambd
The source for financial, economic, and alternative datasets, serving investment professionals.
4æ10æ¥è¿½è¨ãéçºè ã®ä»å°¾ãããèªèº«ã MacR ã®ãã¦ã³ãã¼ããµã¤ããç¨æãã¦ãã ãã£ãã®ã§ããã¡ãã®ãªã³ã¯ãç´¹ä»ãã¾ããã¤ã³ã¹ãã¼ã«æ¹æ³çã®èª¬æã¯ããã¾ããã®ã§å½ããã°ã¨ã³ããªã¼ã¯æ®ãã¦ããã¾ããããã¡ã¤ã«èªä½ã¯ãã¡ããããã¦ã³ãã¼ããã¦ãã ããã MacR ãã¦ã³ãã¼ããµã¤ã https://sites.google.com/site/casualmacr/ 2æ23æ¥ã®LETé¢è¥¿æ¯é¨ã¡ã½ããã¸ã¼ç 究é¨ä¼ã§æ£å¼ã«çºè¡¨ããã MacR ã¯ããªã¼ãã³ã½ã¼ã¹ã®çµ±è¨è§£æã½ãã R ã« GUI ãè£ åãããã©ãã°ã»ã¢ã³ãã»ãããããªã©ã使ããªããç´æçã«çµ±è¨å¦çãè¡ããã¨ãç®æãã Mac OS X å°ç¨ã®ã¢ããªã±ã¼ã·ã§ã³ã§ãã 製ä½è ã®ä»å°¾åº·è£ããï¼å¤§éªå¤§å¦ï¼ã«ããæ£å¼ãªãµã¤ããæªå®æã§ãããã¥ã¢ã«ããã¥ã¼ããªã¢ã«çãªãã®ãæªæ´åãªãããã¨ããããã¤ã³ã¹ãã¼ã«ããã¦ä½¿ããããã«ãªãã¾ã§ã®æ
ã»ãã¥ãªãã£å¨ãã¯ããããããªãããã¤Î²çãªã®ã§æ³¨æãã¦ã使ç¨ãã ããã ãã¦ãRã§webã¢ããªãä½ããã¨ãããã¨ã§é¢ä¿è ãæ¦ã æã ã¨ããã¦ããshinyã§ãããRStudio社ã§ãã¹ãã£ã³ã°ãå§ã¾ã£ãã®ã§ãä½ã£ãwebã¢ããªãç°¡åã«å ¬éã§ããããã«ãªãã¾ããã ã¨ãããã¨ã§ä»¥ä¸ã«æé ãæ¸ãã¦ããã¾ãã 以ä¸ã®ã¢ãã¬ã¹ãRStudioã®ãµã¤ãï¼http://www.rstudio.com/shiny/ï¼ã«ã¢ã¯ã»ã¹ãã¦ãDeploying Shiny apps ã®register nowããç»é²ããã ç»é²ããã¨ããã°ãããã¦ã¡ã¼ã«ãæ¥ãã ãã¨ã¯ã¡ã¼ã«ã«æ¸ãããæé ã©ããã«ããã°ã¢ããªãå ¬éã§ããã®ã ããä¸å¿æ¸ãã¦ãã㨠ã¡ã¼ã«ã«æ¸ãããRStudio Server URLã«ã¢ã¯ã»ã¹ãã¦ã¦ã¼ã¶ã¼åã¨ãã¹ã¯ã¼ããå ¥åãã ãã©ã¦ã¶ä¸ã§RStudioãéãã®ã§ããã¼ã ç´ä¸ã«ShinyAppsã¨
2012å¹´03æ09æ¥09:29 ã«ãã´ãªprogrammingR ã¡ã¿ããã°ã©ãã³ã°R:éãé¢æ°ããã£ãã·ã¥ãã ããã«ã¡ã¯ãVOYAGE GROUPã®æ°´è¶(@Akiyah)ã§ãã æè¿ãä»äºã§ãã¼ã¿è§£æç°å¢ãRãã使ã£ã¦ãã¼ã¿ãã¼ã¹ãããã¼ã¿ãåãåºãã¦å å·¥ãããã¨ãå¤ãã§ãã ãããã£ãã¨ãããã¼ã¿ãã¼ã¹ãããã¼ã¿ãã¨ãé¨åã¯SQLã§ã¾ãã¾ãåå¾ãã¦ããã®å¾Rã§ããããå å·¥ããã®ã好ãã§ãã ã§ãããã®å ´åãä½åº¦ãå®è¡ããã¨SQLã®å¦çãéãããã¼ã¿ãã¼ã¹ã«è² æ ãããããã¨ã«ãªãã®ã§ãã¡ãã£ã¨å°ã£ã¦ãã¾ããã ããã§ä»åãRã®ã¡ã¿ããã°ã©ãã³ã°ã§é¢æ°å¼ã³åºãããã£ãã·ã¥åãã¦ã¿ããã¨ã«ãã¾ããã ãã£ãã·ã¥ã¨è¨ã£ã¦ããã£ã¨åãå¤ãè¿ãã®ã§ã¯ãã¼ã¿ãã¼ã¹ã«æ°ãããã¼ã¿ãå ¥ã£ãã¨ãã«æ´æ°ãããªãã§å°ãã®ã§ãããä¸å®æéï¼ä¾ãã°24æéï¼ãéãããææ°ã®å¤ãã¨ãããã«ä½ãã¾ãã ãã£ãã·ã¥
R Advent Calendar 2012 : ATND ã®10æ¥ç®ã®è¨äºã Rè¨èªã¯å®è¡æã«å¼ãé¢æ°ãªã©ã®è¨èªãªãã¸ã§ã¯ããçµã¿ç«ã¦ããå å·¥ããããããããããã¡ã¿ããã°ã©ãã³ã°ã®ããã®æ©è½ãè±å¯ã«ç¨æããã¦ãããæ¬è¨äºã¯ãã®ã¯ãã¯ããã¯çãªã¾ã¨ãã¨ãã¡ã¿ããã°ã©ãã³ã°ã®å¿ç¨ã¨ãã¦ãã¢ãããRã§å®è£ ãããã¨ããã®ããã£ã¦ã¿ãã ã¡ãªã¿ã«Rã®ã¡ã¿ããã°ã©ãã³ã°ã¯ @tyatsuta æ°ä¸»å¬ã®TokyoLangRåå¼·ä¼ã«ã¦è²ã ã¨æ å ±å ±æãè¡ããã¦ãããç¹ã«å¤§ä»æ§ã¨ããã³ãæ°ã®è³æãç解ãæ·±ããã®ã«ãªã¹ã¹ã¡ã Rè¨èªå®ç¾© 第ï¼ç« ã®ã¾ã¨ã by @teramonagi Rã®ã¹ã³ã¼ãã¨ãã¬ã¼ã ã¨ç°å¢ã«ã¤ãã¦ã®ã¾ã¨ã by @a_bicky æ¬è¨äºãã¡ãã£ã¨é·ãã®ã§ç®æ¬¡ãã ãäºåç¥èç·¨ãã®ï¼ã åçã«é¢æ°ãä½ã ãäºåç¥èç·¨ãã®ï¼ã å¤ã§ãªãå¼ãæ±ãé¢æ°ãä½ã ãå¿ç¨ç·¨ã Rã§ã¢ããï¼ ãããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}