{"id":1594,"date":"2015-08-25T15:33:27","date_gmt":"2015-08-25T06:33:27","guid":{"rendered":"https:\/\/www.digital-knowledge.co.jp\/blog\/?p=1594"},"modified":"2016-05-27T18:18:30","modified_gmt":"2016-05-27T09:18:30","slug":"r%e8%a8%80%e8%aa%9e%e3%80%81%e3%81%9f%e3%82%81%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f","status":"publish","type":"post","link":"https:\/\/www.digital-knowledge.co.jp\/blog\/archives\/1594\/","title":{"rendered":"R\u8a00\u8a9e\u3001\u305f\u3081\u3057\u3066\u307f\u305f"},"content":{"rendered":"<p><b>\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30c6\u30a3\u30b9\u30c8\u3082\u3059\u306a\u308bR\u8a00\u8a9e\u3068\u3044\u3075\u3082\u306e\u3092\u3001\u79c1\u3082\u3057\u3066\u307f\u3080\u3068\u3066\u3059\u308b\u306a\u308a\u3002<\/b><br \/>\n\uff08\u7d00\u8cab\u4e4b\u300e\u571f\u4f50\u65e5\u8a18\u300f\u306e\u30d1\u30af\u30ea\uff09<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u6628\u4eca\u30d3\u30c3\u30b0\u30c7\u30fc\u30bf\u3084\u30c7\u30fc\u30bf\u30de\u30a4\u30cb\u30f3\u30b0\u3084\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306a\u3069\u304c\u6d41\u884c\u3057\u3066\u3044\u308b\u4e2d\u3067\u3001\u3068\u3066\u3082\u3088\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u89e3\u6790\u74b0\u5883\u306b\u300cR\u300d\u3044\u3046\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>R\u306f\u7121\u511f\u3067\u5229\u7528\u3067\u304d\u3001\u4e16\u754c\u4e2d\u306e\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30c6\u30a3\u30b9\u30c8\u306e\u9593\u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u305d\u3046\u3067\u3059\u3002\u3088\u304f\u8a71\u984c\u306b\u4e0a\u304c\u308b\u306e\u3067\u3069\u3046\u3044\u3046\u3082\u306e\u304b\u8208\u5473\u3042\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u5b9f\u969b\u306b\u89e6\u3063\u3066\u307f\u306a\u3044\u3068\u308f\u304b\u3089\u306a\u3044\u3060\u308d\u3046\u3068\u3044\u3046\u3053\u3068\u3067\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u307e\u305a\u306fR\u3068\u4e00\u5fdcRStudio\u3092\u5165\u308c\u3066\u304a\u304d\u307e\u3057\u305f\u3002RStudio\u306f\u3001R\u3092\u52b9\u7387\u7684\u306b\u958b\u767a\u3059\u308b\u305f\u3081\u306e\u7d71\u5408\u958b\u767a\u74b0\u5883\u3067\u3059\u3002R\u3060\u3051\u3067\u3082\u958b\u767a\u3067\u304d\u307e\u3059\u304c\u3001RStudio\u3092\u5165\u308c\u3066\u304a\u304f\u3068\u3088\u308a\u5186\u6ed1\u306b\u958b\u767a\u3067\u304d\u308b\u305d\u3046\u3067\u3059\u3002<br \/>\n\u3061\u306a\u307f\u306b\u3001Windows \/ Mac OS\/Linux\u3068\u3044\u3063\u305f\u30e1\u30b8\u30e3\u30fc\u306aOS\u7528\u306e\u74b0\u5883\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u79c1\u306fMac\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067Mac\u7248\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>RStudio\u306f\u3053\u3093\u306a\u611f\u3058\u306e\u753b\u9762\u3067\u3059\u3002<\/p>\n<div id=\"attachment_1596\" style=\"width: 675px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1596\" class=\"size-large wp-image-1596\" src=\"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/53251fa851dc7a0765f4fe793adf439e-1024x576.png\" alt=\"R Studio\u753b\u9762\u4f8b\" width=\"665\" height=\"374\" srcset=\"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/53251fa851dc7a0765f4fe793adf439e-1024x576.png 1024w, https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/53251fa851dc7a0765f4fe793adf439e-300x169.png 300w, https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/53251fa851dc7a0765f4fe793adf439e-660x371.png 660w, https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/53251fa851dc7a0765f4fe793adf439e.png 1366w\" sizes=\"(max-width: 665px) 100vw, 665px\" \/><p id=\"caption-attachment-1596\" class=\"wp-caption-text\">RStudio\u753b\u9762\u4f8b<\/p><\/div>\n<p>\u307e\u305a\u306f\u3044\u304f\u3064\u304b\u306e\u30b5\u30a4\u30c8\u3092\u898b\u3066\u3001R\u8a00\u8a9e\u304c\u3069\u3046\u3044\u3046\u3082\u306e\u306a\u306e\u304b\u3092\u30b5\u30f3\u30d7\u30eb\u7d44\u307f\u306a\u304c\u3089\u5b66\u7fd2\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u7d20\u4eba\u306a\u304c\u3089\u306e\u5370\u8c61\u3067\u3044\u3046\u3068\u3001\u914d\u5217\u30fb\u884c\u5217\u306a\u3069\u306e<small>\uff08R\u8a00\u8a9e\u306e\u3044\u3046\u3068\u3053\u308d\u306e\uff09<\/small>\u30d9\u30af\u30c8\u30eb\u51e6\u7406\u304c\u3068\u3066\u3082\u3084\u308a\u3084\u3059\u3044\u5370\u8c61\u304c\u3042\u308a\u307e\u3059\u3002\u8907\u96d1\u306a\u30e2\u30c7\u30eb\u3067\u3082\u3053\u306e\u30d9\u30af\u30c8\u30eb\u3067\u8868\u73fe\u3067\u304d\u307e\u3059\u3057\u3001\u4ed6\u306e\u8a00\u8a9e\u3067\u306ffor\u6587\u3092\u7d44\u3093\u3067\u30eb\u30fc\u30d7\u3055\u305b\u3066\u5404\u8981\u7d20\u3092\u304c\u3057\u304c\u3057\u8a08\u7b97\u3057\u306a\u3051\u3070\u306a\u3089\u306a\u3044\u3068\u3053\u308d\u3092\u3001R\u8a00\u8a9e\u3060\u3068\u76f4\u611f\u7684\u306b\u30b7\u30f3\u30d7\u30eb\u306b\u8a08\u7b97\u3067\u304d\u307e\u3059\u3002\u306a\u308b\u307b\u3069\u3001\u3053\u308c\u306f\u7d71\u8a08\u5411\u304d\u3067\u3059\u306d\u3002<\/p>\n<p>\u3055\u3089\u306b\u3044\u3046\u3068\u3001\u7d71\u8a08\u89e3\u6790\u7528\u306e\u69d8\u3005\u306a\u95a2\u6570\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u3066\u3001\u307e\u305f\u51fa\u6765\u4e0a\u304c\u3063\u305f\u7d50\u679c\u3092\u30b0\u30e9\u30d5\u5316\u3059\u308b\u306e\u304c\u975e\u5e38\u306b\u697d\u3068\u3044\u3046\u306e\u3082\u5370\u8c61\u7684\u3067\u3059\u3002<\/p>\n<p>\u3044\u308d\u3044\u308d\u30b5\u30f3\u30d7\u30eb\u3092\u8a66\u3057\u3066\u307f\u3066\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u958b\u59cb\u304b\u3089\uff12\u3001\uff13\u6642\u9593\u307b\u3069\u3067\u3042\u308b\u7a0b\u5ea6\u5168\u5bb9\u3092\u628a\u63e1\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u4e00\u822c\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3044\u3046&#8221;Hello,world!&#8221;<small>\uff08&#8221;Hello,world!&#8221;\u3068\u3044\u3046\u6587\u5b57\u3092\u753b\u9762\u306b\u51fa\u529b\u3059\u308b\u305f\u3081\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3002\u8a00\u8a9e\u3092\u5b66\u3076\u6642\u306e\u7b2c\u4e00\u6b69\u3068\u3055\u308c\u3066\u3044\u308b\u3002\u8208\u5473\u304c\u3042\u308b\u65b9\u306f<a title=\"Hello.world!\" href=\"https:\/\/ja.wikipedia.org\/wiki\/Hello_world%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%A0%E3%81%AE%E4%B8%80%E8%A6%A7\" target=\"_blank\" rel=\"nofollow\">\u3053\u3061\u3089<\/a>\u3092\uff09<\/small>\u76f8\u5f53\u306e\u3053\u3068\u3092\u3084\u3063\u3066\u307f\u3088\u3046\u3068\u8272\u3005\u8003\u3048\u3001\u30e2\u30f3\u30c6\u30ab\u30eb\u30ed\u6cd5\u306b\u3088\u308b\u5186\u5468\u7387\u03c0\u306e\u8a08\u7b97\u3092\u3084\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<small>\uff08\u30e2\u30f3\u30c6\u30ab\u30eb\u30ed\u6cd5\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/unit.aist.go.jp\/diversity\/ja\/jst\/teens\/montecarlo.htm\" rel=\"nofollow\">\u3053\u3061\u3089<\/a>\u3092\uff09<\/small><\/p>\n<p>\u305d\u308c\u3082\u5358\u306b\u03c0\u3092\u6c42\u3081\u308b\u3060\u3051\u3060\u3068\u3064\u307e\u3089\u306a\u3044\u306e\u3067\u3001\u3044\u304f\u3064\u304b\u306e\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u304b\u3089\u5f97\u3089\u308c\u305f\u30c7\u30fc\u30bf\u3092\u63a1\u53d6\u3057\u3001\u305d\u308c\u3092\u30b0\u30e9\u30d5\u5316\u3057\u3088\u3046\u3068\u8a66\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u3046\u3057\u3066\u4f5c\u3063\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u3053\u3061\u3089\u3002<\/p>\n<pre><code>\r\n#\u534a\u5f84r\u306e\u5186\u306e1\/4\u306e\u90e8\u5206\u306b\u5bfe\u3057\u3066n\u56de\u8a66\u3057\u305f\u7d50\u679c\u3092\u95a2\u6570\u5316\r\nJYpie<-function(n,r){ \r\n   #\u6574\u6570\u3067\u8a08\u7b97\u3059\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\uff08\u304a\u8535\u5165\u308a)\r\n   #x<- round(runif(n)*r,digits=0)\r\n   #y<- round(runif(n)*r,digits=0)\r\n\r\n   #\u5b9f\u6570\u3067\u8a08\u7b97\u3059\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\r\n   x<- runif(n)*r\r\n   y<- runif(n)*r\r\n\r\n   l<-sqrt(x^2+y^2)\r\n   m<-sum(l<=r,TRUE)\r\n   p<-4*m\/n\r\n\r\n   return(p)\r\n}\r\n\r\n\r\n#1000?10000\u3092100\u523b\u307f\u3067\u8a08\u7b97\u3057\u305f\u4f8b\r\npp<-NULL\r\nx<-seq(1000,100000,by=100)\r\nfor(i in x)  pp<-append(pp,JYpie(i,100))    \r\nans=cbind(x,pp)\r\n\r\n#\u7d50\u679c\u3092\u30d7\u30ed\u30c3\u30c8\r\nplot(ans)\r\ntitle(\"Monte Carlo method\") \r\nabline(h = pi,col=\"red\")\r\n\r\n<\/code>\r\n<\/pre>\n<p>JYpie()\u3068\u3044\u3046\u5186\u5468\u7387\u03c0\u3092\u6c42\u3081\u308b\u95a2\u6570\u3092\u7528\u610f\u3057\u3001\u3053\u308c\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u304b\u3048\u3066\u3050\u308b\u3050\u308b\u56de\u3057\u3066\u7b97\u51fa\u3059\u308b\u3068\u3044\u3046\u5b9f\u9a13\u3067\u3059\u3002<\/p>\n<p>\u3053\u3046\u3057\u3066\u5f97\u3089\u308c\u305f\u7d50\u679c\u3092\u30d7\u30ed\u30c3\u30c8\u3057\u305f\u306e\u304c\u3053\u3061\u3089\u3002<\/p>\n<div id=\"attachment_1602\" style=\"width: 675px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1602\" class=\"size-large wp-image-1602\" src=\"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/bc0956717df033692d6343a57182884e-1024x503.png\" alt=\"\u30e2\u30f3\u30c6\u30ab\u30eb\u30ed\u6cd5\u306b\u3088\u308b\u03c0\u306e\u8a08\u7b97\u4f8b\" width=\"665\" height=\"327\" srcset=\"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/bc0956717df033692d6343a57182884e-1024x503.png 1024w, https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/bc0956717df033692d6343a57182884e-300x147.png 300w, https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/bc0956717df033692d6343a57182884e-660x324.png 660w, https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/bc0956717df033692d6343a57182884e.png 1171w\" sizes=\"(max-width: 665px) 100vw, 665px\" \/><p id=\"caption-attachment-1602\" class=\"wp-caption-text\">\u30e2\u30f3\u30c6\u30ab\u30eb\u30ed\u6cd5\u306b\u3088\u308b\u03c0\u306e\u8a08\u7b97\u4f8b<\/p><\/div>\n<p>\u6a2a\u8ef8\u306f\u4e00\u5ea6\u306e\u30e2\u30f3\u30c6\u30ab\u30eb\u30ed\u6cd5\u306e\u8a08\u7b97\u3067\u7528\u3044\u305f\u70b9\u306e\u6570\u3001\u7e26\u8ef8\u306f\u305d\u306e\u3068\u304d\u306b\u5f97\u3089\u308c\u305f\u03c0\u306e\u5024\u3067\u3001\u8d64\u306e\u6a2a\u7dda\u306f\u5b9f\u969b\u306e\u03c0\u306e\u5024\u3067\u3059\u3002<\/p>\n<p>\u70b9\u306e\u6570\u3092\u5897\u3084\u3059\u3054\u3068\u306b\u3060\u3093\u3060\u3093\u3068\u5b9f\u969b\u306e\u03c0\u306e\u5024\u306b\u53ce\u675f\u3057\u3066\u3044\u304f\u69d8\u304c\u3088\u304f\u308f\u304b\u308a\u307e\u3059\u306d\u3002<\/p>\n<p>\u3053\u308c\u3068\u540c\u3058\u3053\u3068\u3092Excel\u3067\u3084\u3063\u305f\u3053\u3068\u3042\u308a\u307e\u3059\u304c\u3001Excel\u4f7f\u3046\u3088\u308aR\u4f7f\u3063\u305f\u307b\u3046\u304c\u5727\u5012\u7684\u306b\u697d\u3067\u3059\u3057\u601d\u8003\u3092\u59a8\u3052\u306a\u3044\u6c17\u304c\u3057\u307e\u3059\u3002\u30ed\u30b8\u30c3\u30af\u3092\u8003\u3048\u305f\u3089\u305d\u306e\u30ed\u30b8\u30c3\u30af\u306e\u307e\u307e\u5b9f\u88c5\u3067\u304d\u3061\u3083\u3046\u3068\u3044\u3046\u304b\u3001\u4f59\u8a08\u306a\u3053\u3068\u3092\u8abf\u6574\u3057\u306a\u304f\u3066\u3059\u3063\u3068\u3067\u304d\u3061\u3083\u3046\u611f\u3058\u304c\u3057\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u30e2\u30f3\u30c6\u30ab\u30eb\u30ed\u6cd5\u306b\u3088\u308b\u03c0\u306e\u8a08\u7b97\u3001R\u8a00\u8a9e\u3067\u3082\u3063\u3068\u30b7\u30f3\u30d7\u30eb\u306b\u66f8\u3044\u3066\u5b9f\u884c\u3057\u305f\u7d50\u679c\u304c\u4e0b\u8a18\u3067\u3059\u3002(1,000,000\u500b\u306e\u70b9\u3092\u6253\u3063\u3066\u307e\u3059\uff09<\/p>\n<div id=\"attachment_1603\" style=\"width: 343px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1603\" class=\"size-full wp-image-1603\" src=\"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/3e95d4e38883244333b8ca453cdb2c51.png\" alt=\"\u30e2\u30f3\u30c6\u30ab\u30eb\u30ed\u6cd5\u306b\u3088\u308b\u03c0\u7b97\u51fa\uff08\u30b7\u30f3\u30d7\u30eb\u7248\uff09\" width=\"333\" height=\"44\" srcset=\"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/3e95d4e38883244333b8ca453cdb2c51.png 333w, https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/3e95d4e38883244333b8ca453cdb2c51-300x40.png 300w\" sizes=\"(max-width: 333px) 100vw, 333px\" \/><p id=\"caption-attachment-1603\" class=\"wp-caption-text\">\u30e2\u30f3\u30c6\u30ab\u30eb\u30ed\u6cd5\u306b\u3088\u308b\u03c0\u7b97\u51fa\uff08\u30b7\u30f3\u30d7\u30eb\u7248\uff09<\/p><\/div>\n<p>\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u304c\u3081\u3061\u3083\u304f\u3061\u3083\u60aa\u3044\u306e\u3067\u3001\u3053\u306e\u66f8\u304d\u65b9\u306f\u3042\u307e\u308a\u5b9c\u3057\u304f\u306a\u3044\u3067\u3059\u304c\u3001R\u8a00\u8a9e\u306e\u7279\u6027\u3092\u3088\u304f\u6d3b\u304b\u3057\u305f\u4f8b\u3068\u3044\u3048\u307e\u3059\u3002<\/p>\n<p>\u305d\u3046\u3044\u3046\u308f\u3051\u3067\u3001\u4ed6\u306e\u8a00\u8a9e\u3092\u3054\u5b58\u77e5\u306a\u65b9\u3067\u3042\u308c\u3070\u6570\u6642\u9593\u3042\u308c\u3070\u3001\u3042\u308b\u7a0b\u5ea6\u306e\u3053\u3068\u306f\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u305f\u3081\u3057\u306b\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u3092\u6d41\u3057\u8fbc\u3093\u3067\u307f\u3066\u3001\uff12\u3064\u306e\u7570\u306a\u308b\u30b0\u30eb\u30fc\u30d7\u306e\u5c65\u4fee\u6570\u306e\u5dee\u3092\u30b0\u30e9\u30d5\u5316\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<div id=\"attachment_1604\" style=\"width: 697px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1604\" class=\"size-full wp-image-1604\" src=\"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/18a86dcd39fb3161ce1a343a2dd5b167.png\" alt=\"R\u306b\u3088\u308b\u5c65\u6b74\u89e3\u6790\u4f8b\" width=\"687\" height=\"623\" srcset=\"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/18a86dcd39fb3161ce1a343a2dd5b167.png 687w, https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/18a86dcd39fb3161ce1a343a2dd5b167-300x272.png 300w, https:\/\/www.digital-knowledge.co.jp\/blog\/wp-content\/uploads\/2015\/08\/18a86dcd39fb3161ce1a343a2dd5b167-660x599.png 660w\" sizes=\"(max-width: 687px) 100vw, 687px\" \/><p id=\"caption-attachment-1604\" class=\"wp-caption-text\">R\u306b\u3088\u308b\u5c65\u6b74\u89e3\u6790\u4f8b<\/p><\/div>\n<p>\u5728\u7c4d\u5e74\u5ea6\u3092row\u8ef8\u306b\u3001\u5c65\u4fee\u6570\u3092column\u8ef8\u306b\u8a2d\u5b9a\u3057\u3001\uff12\u3064\u306e\u30b0\u30eb\u30fc\u30d7\u306e\u5c65\u4fee\u306e\u5dee\u3092\u793a\u3057\u305f\u3082\u306e\u3067\u3059\u3002\u8a73\u7d30\u306f\u7701\u304d\u307e\u3059\u304c\u3001\u307e\u3042\u3053\u3046\u3084\u3063\u3066\u53ef\u8996\u5316\u3082\u3057\u3084\u3059\u3044\u3068\u3044\u3046\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u3042\u305f\u308a\u306f\u307b\u3093\u306e\u5e8f\u306e\u53e3\u3001\u5b9f\u969b\u306eR\u306e\u771f\u4fa1\u306f\u3053\u3046\u3044\u3046\u53ef\u8996\u5316\u3060\u3051\u3067\u306a\u304f\u7d71\u8a08\u89e3\u6790\u306b\u3082\u3042\u308b\u3067\u3057\u3087\u3046\u304b\u3089\u3001\u3053\u308c\u3060\u3051\u3060\u3068\u7247\u624b\u843d\u3061\u3067\u3057\u3087\u3046\u3002\u305d\u3046\u3044\u3046\u3082\u306e\u3092\u7406\u89e3\u3057\u305f\u4e0a\u3067R\u3092\u4f7f\u3044\u5012\u3059\u3068\u3044\u308d\u3093\u306a\u3053\u3068\u304c\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u306a\u308b\u307b\u3069\u3001\u3053\u3046\u3044\u3046\u306e\u3092\u4f7f\u3063\u3066\u30e9\u30fc\u30cb\u30f3\u30b0\u30fb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u3059\u308b\u3093\u3060\u306a\u3041\u3068\u3001\u3055\u308f\u308a\u3092\u5b9f\u611f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u500b\u4eba\u7684\u306b\u306f\u5b66\u751f\u6642\u4ee3\u306b\u624b\u306b\u3057\u3066\u8208\u596e\u3057\u3066\u904a\u3073\u5012\u3057\u305fMathematica\u3092\u601d\u3044\u51fa\u3057\u307e\u3057\u305f\u3002<br \/>\n\u540c\u3058\u304f\u5b66\u751f\u306e\u9803\u306b\u5b66\u3093\u3060Prolog\u3084LISP\u306b\u3082\u3061\u3087\u3063\u3068\u4f3c\u3066\u308b\u306a\u3041\u3068\u304b\u601d\u3063\u305f\u6b21\u7b2c\u3067\u3059\u3002<br \/>\n\u3061\u3087\u3063\u3068\u61d0\u304b\u3057\u304f\u3082\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u6298\u3092\u898b\u3066R\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u25a0\u95a2\u9023\u60c5\u5831<\/strong><\/p>\n<ul>\n<li><a title=\"R\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\" href=\"https:\/\/www.r-project.org\/\" target=\"_blank\">R Project\u30b5\u30a4\u30c8<\/a><\/li>\n<li><a title=\"Rstudio\" href=\"http:\/\/memorandum2015.sakura.ne.jp\/index_rstudio.html\" target=\"_blank\">RStudio<\/a><\/li>\n<li><a href=\"http:\/\/cse.naro.affrc.go.jp\/takezawa\/r-tips\/r.html\" target=\"_blank\">\u7d71\u8a08\u89e3\u6790\u30d5\u30ea\u30fc\u30bd\u30d5\u30c8 R \u306e\u5099\u5fd8\u9332\u9801<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30c6\u30a3\u30b9\u30c8\u3082\u3059\u306a\u308bR\u8a00\u8a9e\u3068\u3044\u3075\u3082\u306e\u3092\u3001\u79c1\u3082\u3057\u3066\u307f\u3080\u3068\u3066\u3059\u308b\u306a\u308a\u3002 \uff08\u7d00\u8cab\u4e4b\u300e\u571f\u4f50\u65e5\u8a18\u300f\u306e\u30d1\u30af\u30ea\uff09 \u3068\u3044\u3046\u308f\u3051\u3067\u3001\u6628\u4eca\u30d3\u30c3\u30b0\u30c7\u30fc\u30bf\u3084\u30c7\u30fc\u30bf\u30de\u30a4\u30cb\u30f3\u30b0\u3084\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306a\u3069\u304c\u6d41\u884c\u3057\u3066\u3044\u308b\u4e2d\u3067\u3001\u3068\u3066\u3082\u3088\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.digital-knowledge.co.jp\/blog\/archives\/1594\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":1607,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[358,70,68,69],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-json\/wp\/v2\/posts\/1594"}],"collection":[{"href":"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=1594"}],"version-history":[{"count":23,"href":"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-json\/wp\/v2\/posts\/1594\/revisions"}],"predecessor-version":[{"id":2326,"href":"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-json\/wp\/v2\/posts\/1594\/revisions\/2326"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-json\/wp\/v2\/media\/1607"}],"wp:attachment":[{"href":"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=1594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=1594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digital-knowledge.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=1594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}