{"id":3614,"date":"2023-07-16T12:37:36","date_gmt":"2023-07-16T12:37:36","guid":{"rendered":"https:\/\/statorials.org\/ja\/r-%e3%81%ae%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%86%e3%83%bc%e3%83%95%e3%82%99%e3%83%ab%e3%81%a8%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0\/"},"modified":"2023-07-16T12:37:36","modified_gmt":"2023-07-16T12:37:36","slug":"r-%e3%81%ae%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%86%e3%83%bc%e3%83%95%e3%82%99%e3%83%ab%e3%81%a8%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0","status":"publish","type":"post","link":"https:\/\/statorials.org\/ja\/r-%e3%81%ae%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%86%e3%83%bc%e3%83%95%e3%82%99%e3%83%ab%e3%81%a8%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0\/","title":{"rendered":"Data.table \u3068 r \u306e\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0: 3 \u3064\u306e\u4e3b\u306a\u9055\u3044"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">R \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u306f\u3001 <strong>data.frame \u306f<\/strong>R \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4e00\u90e8\u3067\u3059\u3002<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>data.table<\/strong>\u30d1\u30c3\u30b1\u30fc\u30b8\u306e<strong>setDF<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u4efb\u610f\u306e<strong>data.frame<\/strong>\u3092<strong>data.table<\/strong>\u306b\u5909\u63db\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p> <span style=\"color: #000000;\">data.table \u306b\u306f\u3001R \u306e data.frame \u306b\u6bd4\u3079\u3066\u6b21\u306e\u5229\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>1.<\/strong> data.table \u30d1\u30c3\u30b1\u30fc\u30b8\u306e<a href=\"https:\/\/statorials.org\/ja\/\u6016\u3044\/\" target=\"_blank\" rel=\"noopener\">fread<\/a>\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u3092 data.frame \u306b\u8aad\u307f\u53d6\u308b<a href=\"https:\/\/statorials.org\/ja\/csv\u3092r\u306b\u30a4\u30f3\u30db\u309a\u30fc\u30c8\/\" target=\"_blank\" rel=\"noopener\">read.csv<\/a>\u306a\u3069\u306e\u57fa\u672c\u7684\u306a R \u95a2\u6570\u3088\u308a\u3082\u306f\u308b\u304b\u306b<em>\u9ad8\u901f<\/em>\u306b\u30d5\u30a1\u30a4\u30eb\u3092 data.table \u306b\u8aad\u307f\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>2.<\/strong> data.table \u3067\u306f\u3001data.frame \u3088\u308a\u3082\u306f\u308b\u304b<em>\u306b<\/em>\u9ad8\u901f\u306b\u64cd\u4f5c (\u30b0\u30eb\u30fc\u30d7\u5316\u3084\u96c6\u8a08\u306a\u3069) \u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>3.<\/strong> data.frame \u3092\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\u3059\u308b\u3068\u304d\u3001R \u306f data.frame \u5185\u306e\u5404\u884c\u3092\u51fa\u529b\u3057\u3088\u3046\u3068\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001data.table \u306b\u306f\u6700\u521d\u306e 100 \u884c\u3057\u304b\u8868\u793a\u3055\u308c\u306a\u3044\u305f\u3081\u3001\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u64cd\u4f5c\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u30cf\u30f3\u30b0\u3057\u305f\u308a\u30af\u30e9\u30c3\u30b7\u30e5\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u4f8b\u306f\u3001\u5b9f\u969b\u306e data.frames \u3068 data.tables \u306e\u9055\u3044\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u9055\u3044 #1: fread \u3092\u4f7f\u7528\u3057\u305f\u30a4\u30f3\u30dd\u30fc\u30c8\u306e\u9ad8\u901f\u5316<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001data.table \u30d1\u30c3\u30b1\u30fc\u30b8\u306e<strong>fread<\/strong>\u95a2\u6570\u3068 R \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e<strong>read.csv<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u300110,000 \u884c\u3068 100 \u5217\u306e\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">library<\/span> (microbenchmark)\n<span style=\"color: #008000;\">library<\/span> (data.table)\n\n<span style=\"color: #008080;\">#make this example reproducible\n<\/span>set. <span style=\"color: #3366ff;\">seeds<\/span> (1)\n\n<span style=\"color: #008080;\">#create data frame with 10,000 rows and 100 columns\n<\/span>df &lt;- as. <span style=\"color: #3366ff;\">data<\/span> . <span style=\"color: #3366ff;\">frame<\/span> (matrix(runif(10^4 * 100), nrow = 10^4))\n\n<span style=\"color: #008080;\">#export CSV to current working directory\n<\/span>write.write. <span style=\"color: #3366ff;\">csv<\/span> (df, \" <span style=\"color: #ff0000;\">test.csv<\/span> \", quote = <span style=\"color: #008000;\">FALSE<\/span> )\n\n<span style=\"color: #008080;\">#import CSV file using fread and read.csv and time how long it takes\n<\/span>results &lt;- microbenchmark(\n  read.csv = read. <span style=\"color: #3366ff;\">csv<\/span> (\" <span style=\"color: #ff0000;\">test.csv<\/span> \", header = <span style=\"color: #008000;\">TRUE<\/span> , stringsAsFactors = <span style=\"color: #008000;\">FALSE<\/span> ),\n  fread = fread(\" <span style=\"color: #ff0000;\">test.csv<\/span> \", sep = \",\", stringsAsFactors = <span style=\"color: #008000;\">FALSE<\/span> ),\n  times = 10)\n\n<span style=\"color: #008080;\">#view results\n<\/span>results\n\nUnit: milliseconds\n     expr min lq mean median uq max neval cld\n read.csv 817.1867 892.8748 1026.7071 899.5755 926.9120 1964.0540 10 b\n    fread 113.5889 116.2735 136.4079 124.3816 136.0534 211.7484 10 a<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u7d50\u679c\u304b\u3089\u3001 <strong>fread \u306f<\/strong><strong>read.csv<\/strong>\u95a2\u6570\u3068\u6bd4\u8f03\u3057\u3066\u3001\u3053\u306e CSV \u30d5\u30a1\u30a4\u30eb\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u304c\u7d04 10 \u500d\u9ad8\u901f\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304c\u5927\u304d\u3044\u5834\u5408\u3001\u3053\u306e\u9055\u3044\u306f\u3055\u3089\u306b\u5927\u304d\u304f\u306a\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u9055\u3044 #2: data.table \u3092\u4f7f\u7528\u3057\u305f\u9ad8\u901f\u306a\u30c7\u30fc\u30bf\u64cd\u4f5c<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u4e00\u822c\u306b\u3001 <strong>data.table \u306f<\/strong>\u3001 <strong>data.frame<\/strong>\u3088\u308a\u3082\u306f\u308b\u304b\u306b\u9ad8\u901f\u306b\u3042\u3089\u3086\u308b\u30c7\u30fc\u30bf\u64cd\u4f5c\u30bf\u30b9\u30af\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u305f\u3068\u3048\u3070\u3001\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001data.table \u3068 data.frame \u306e\u4e21\u65b9\u3067\u5225\u306e\u5909\u6570\u306b\u3088\u3063\u3066\u30b0\u30eb\u30fc\u30d7\u5316\u3055\u308c\u305f\u5909\u6570\u306e\u5e73\u5747\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008000;\">library<\/span> (microbenchmark)\n<span style=\"color: #008000;\">library<\/span> (data.table)\n\n<span style=\"color: #008080;\">#make this example reproducible\n<\/span>set.seed(1)\n\n#create data frame with 10,000 rows and 100 columns\nd_frame &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (team=rep(c(' <span style=\"color: #ff0000;\">A<\/span> ', ' <span style=\"color: #ff0000;\">B<\/span> '), each=5000),\n                      points=c(rnorm(10000, mean=20, sd=3)))\n\n<span style=\"color: #008080;\">#create data.table from data.frame\n<\/span>d_table &lt;- setDT(d_frame)\n\n<span style=\"color: #008080;\">#calculate mean of points grouped by team in data.frame and data.table\n<\/span>results &lt;- microbenchmark(\n  mean_d_frame = aggregate(d_frame$points, list(d_frame$team), FUN=mean),\n  mean_d_table = d_table[ ,list(mean=mean(points)), by=team],\n  times = 10)\n\n<span style=\"color: #008080;\">#view results\n<\/span>results\n\nUnit: milliseconds\n         expr min lq mean median uq max neval cld\n mean_d_frame 2.9045 3.0077 3.11683 3.1074 3.1654 3.4824 10 b\n mean_d_table 1.0539 1.1140 1.52002 1.2075 1.2786 3.6084 10 a<\/strong><\/span><\/pre>\n<p><span style=\"color: #000000;\">\u7d50\u679c\u304b\u3089\u3001 <strong>data.table \u306f<\/strong><strong>data.frame<\/strong>\u3088\u308a\u3082\u7d04 3 \u500d\u9ad8\u901f\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304c\u5927\u304d\u3044\u5834\u5408\u3001\u3053\u306e\u5dee\u306f\u3055\u3089\u306b\u5927\u304d\u304f\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u9055\u3044 #3: data.table \u3067\u5370\u5237\u3055\u308c\u308b\u884c\u304c\u5c11\u306a\u304f\u306a\u308b<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\"><strong>data.frame \u3092<\/strong>\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\u3059\u308b\u3068\u304d\u3001R \u306f data.frame \u5185\u306e\u5404\u884c\u3092\u51fa\u529b\u3057\u3088\u3046\u3068\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u305f\u3060\u3057\u3001 <strong>data.table \u306b<\/strong>\u306f\u6700\u521d\u306e 100 \u884c\u3057\u304b\u8868\u793a\u3055\u308c\u306a\u3044\u305f\u3081\u3001\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u64cd\u4f5c\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u30cf\u30f3\u30b0\u3057\u305f\u308a\u30af\u30e9\u30c3\u30b7\u30e5\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u305f\u3068\u3048\u3070\u3001\u6b21\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u3068 200 \u884c\u306e data.table \u306e\u4e21\u65b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/span><\/p>\n<p> <span style=\"color: #000000;\">data.frame \u3092\u5370\u5237\u3059\u308b\u3068\u304d\u3001R \u306f\u5404\u884c\u306e\u5370\u5237\u3092\u8a66\u307f\u307e\u3059\u304c\u3001data.table \u306f\u6700\u521d\u306e 5 \u884c\u3068\u6700\u5f8c\u306e 5 \u884c\u306e\u307f\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">library<\/span> (data.table)\n\n<span style=\"color: #008080;\">#make this example reproducible\n<\/span>set. <span style=\"color: #3366ff;\">seeds<\/span> (1)\n\n<span style=\"color: #008080;\">#create data frame\n<\/span>d_frame &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (x=rnorm(200),\n                      y=rnorm(200),\n                      z=rnorm(200))\n<span style=\"color: #008080;\">#view data frame\n<\/span>d_frame\n\n               X Y Z\n1 -0.055303118 1.54858564 -2.065337e-02\n2 0.354143920 0.36706204 -3.743962e-01\n3 -0.999823809 -1.57842544 4.392027e-01\n4 2.586214840 0.17383147 -2.081125e+00\n5 -1.917692199 -2.11487401 4.073522e-01\n6 0.039614766 2.21644236 1.869164e+00\n7 -1.942259548 0.81566443 4.740712e-01\n8 -0.424913746 1.01081030 4.996065e-01\n9 -1.753210825 -0.98893038 -6.290307e-01\n10 0.232382655 -1.25229873 -1.324883e+00\n11 0.027278832 0.44209325 -3.221920e-01\n...\n<span style=\"color: #008080;\">#create data table\n<\/span>d_table &lt;- setDT(d_frame)\n\n<span style=\"color: #008080;\">#view data table\n<\/span>d_table\n\n               X Y Z\n  1: -0.05530312 1.54858564 -0.02065337\n  2: 0.35414392 0.36706204 -0.37439617\n  3: -0.99982381 -1.57842544 0.43920275\n  4: 2.58621484 0.17383147 -2.08112491\n  5: -1.91769220 -2.11487401 0.40735218\n ---                                    \n196: -0.06196178 1.08164065 0.58609090\n197: 0.34160667 -0.01886703 1.61296255\n198: -0.38361957 -0.03890329 0.71377217\n199: -0.80719743 -0.89674205 -0.49615702\n200: -0.26502679 -0.15887435 -1.73781026<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u3053\u308c\u306f\u3001\u7279\u306b\u8aa4\u3063\u3066\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\u3057\u305f\u304f\u306a\u3044\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf \u30bb\u30c3\u30c8\u3092\u6271\u3046\u5834\u5408\u306b\u3001 <strong>data.table \u304c<\/strong><strong>data.frame<\/strong>\u306b\u6bd4\u3079\u3066\u63d0\u4f9b\u3059\u308b\u5229\u70b9\u3067\u3059\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u8ffd\u52a0\u30ea\u30bd\u30fc\u30b9<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u4ed6\u306e\u4e00\u822c\u7684\u306a\u30bf\u30b9\u30af\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/ja\/r-\u30c6\u3099\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306b\u8ffd\u52a0\/\" target=\"_blank\" rel=\"noopener\">R \u3067\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306b\u884c\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/r-\u5217\u3092\u4fdd\u6301\u3059\u308b\/\" target=\"_blank\" rel=\"noopener\">R \u3067\u7279\u5b9a\u306e\u5217\u3092\u4fdd\u5b58\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/dplyr-\u6570\u5024\u5217\u306e\u9078\u629e\/\" target=\"_blank\" rel=\"noopener\">R \u3067\u6570\u5024\u5217\u306e\u307f\u3092\u9078\u629e\u3059\u308b\u65b9\u6cd5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u306f\u3001 data.frame \u306fR \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4e00\u90e8\u3067\u3059\u3002 data.table\u30d1\u30c3\u30b1\u30fc\u30b8\u306esetDF\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u4efb\u610f\u306edata.frame\u3092data.table\u306b\u5909\u63db\u3067\u304d\u307e\u3059\u3002 data.t [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-3614","post","type-post","status-publish","format-standard","hentry","category-16"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>R \u306e data.table \u3068\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0: 3 \u3064\u306e\u4e3b\u306a\u9055\u3044 - \u7d71\u8a08<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e data.tables \u3068\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306e\u4e3b\u306a\u9055\u3044\u3092\u4f8b\u3092\u542b\u3081\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/ja\/r-\u306e\u30c6\u3099\u30fc\u30bf-\u30c6\u30fc\u30d5\u3099\u30eb\u3068\u30c6\u3099\u30fc\u30bf-\u30d5\u30ec\u30fc\u30e0\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R \u306e data.table \u3068\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0: 3 \u3064\u306e\u4e3b\u306a\u9055\u3044 - \u7d71\u8a08\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e data.tables \u3068\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306e\u4e3b\u306a\u9055\u3044\u3092\u4f8b\u3092\u542b\u3081\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ja\/r-\u306e\u30c6\u3099\u30fc\u30bf-\u30c6\u30fc\u30d5\u3099\u30eb\u3068\u30c6\u3099\u30fc\u30bf-\u30d5\u30ec\u30fc\u30e0\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-16T12:37:36+00:00\" \/>\n<meta name=\"author\" content=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ja\/r-%e3%81%ae%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%86%e3%83%bc%e3%83%95%e3%82%99%e3%83%ab%e3%81%a8%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0\/\",\"url\":\"https:\/\/statorials.org\/ja\/r-%e3%81%ae%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%86%e3%83%bc%e3%83%95%e3%82%99%e3%83%ab%e3%81%a8%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0\/\",\"name\":\"R \u306e data.table \u3068\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0: 3 \u3064\u306e\u4e3b\u306a\u9055\u3044 - \u7d71\u8a08\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ja\/#website\"},\"datePublished\":\"2023-07-16T12:37:36+00:00\",\"dateModified\":\"2023-07-16T12:37:36+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\"},\"description\":\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e data.tables \u3068\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306e\u4e3b\u306a\u9055\u3044\u3092\u4f8b\u3092\u542b\u3081\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ja\/r-%e3%81%ae%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%86%e3%83%bc%e3%83%95%e3%82%99%e3%83%ab%e3%81%a8%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ja\/r-%e3%81%ae%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%86%e3%83%bc%e3%83%95%e3%82%99%e3%83%ab%e3%81%a8%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ja\/r-%e3%81%ae%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%86%e3%83%bc%e3%83%95%e3%82%99%e3%83%ab%e3%81%a8%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Data.table \u3068 r \u306e\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0: 3 \u3064\u306e\u4e3b\u306a\u9055\u3044\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ja\/#website\",\"url\":\"https:\/\/statorials.org\/ja\/\",\"name\":\"Statorials\",\"description\":\"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ja\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\",\"name\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\"},\"description\":\"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b\",\"sameAs\":[\"http:\/\/statorials.org\/ja\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"R \u306e data.table \u3068\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0: 3 \u3064\u306e\u4e3b\u306a\u9055\u3044 - \u7d71\u8a08","description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e data.tables \u3068\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306e\u4e3b\u306a\u9055\u3044\u3092\u4f8b\u3092\u542b\u3081\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/ja\/r-\u306e\u30c6\u3099\u30fc\u30bf-\u30c6\u30fc\u30d5\u3099\u30eb\u3068\u30c6\u3099\u30fc\u30bf-\u30d5\u30ec\u30fc\u30e0\/","og_locale":"ja_JP","og_type":"article","og_title":"R \u306e data.table \u3068\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0: 3 \u3064\u306e\u4e3b\u306a\u9055\u3044 - \u7d71\u8a08","og_description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e data.tables \u3068\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306e\u4e3b\u306a\u9055\u3044\u3092\u4f8b\u3092\u542b\u3081\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/statorials.org\/ja\/r-\u306e\u30c6\u3099\u30fc\u30bf-\u30c6\u30fc\u30d5\u3099\u30eb\u3068\u30c6\u3099\u30fc\u30bf-\u30d5\u30ec\u30fc\u30e0\/","og_site_name":"Statorials","article_published_time":"2023-07-16T12:37:36+00:00","author":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ja\/r-%e3%81%ae%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%86%e3%83%bc%e3%83%95%e3%82%99%e3%83%ab%e3%81%a8%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0\/","url":"https:\/\/statorials.org\/ja\/r-%e3%81%ae%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%86%e3%83%bc%e3%83%95%e3%82%99%e3%83%ab%e3%81%a8%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0\/","name":"R \u306e data.table \u3068\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0: 3 \u3064\u306e\u4e3b\u306a\u9055\u3044 - \u7d71\u8a08","isPartOf":{"@id":"https:\/\/statorials.org\/ja\/#website"},"datePublished":"2023-07-16T12:37:36+00:00","dateModified":"2023-07-16T12:37:36+00:00","author":{"@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83"},"description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e data.tables \u3068\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306e\u4e3b\u306a\u9055\u3044\u3092\u4f8b\u3092\u542b\u3081\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/ja\/r-%e3%81%ae%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%86%e3%83%bc%e3%83%95%e3%82%99%e3%83%ab%e3%81%a8%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ja\/r-%e3%81%ae%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%86%e3%83%bc%e3%83%95%e3%82%99%e3%83%ab%e3%81%a8%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ja\/r-%e3%81%ae%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%86%e3%83%bc%e3%83%95%e3%82%99%e3%83%ab%e3%81%a8%e3%83%86%e3%82%99%e3%83%bc%e3%82%bf-%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/ja\/"},{"@type":"ListItem","position":2,"name":"Data.table \u3068 r \u306e\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0: 3 \u3064\u306e\u4e3b\u306a\u9055\u3044"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ja\/#website","url":"https:\/\/statorials.org\/ja\/","name":"Statorials","description":"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ja\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83","name":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/","url":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb"},"description":"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b","sameAs":["http:\/\/statorials.org\/ja"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/3614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/comments?post=3614"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/3614\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/media?parent=3614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/categories?post=3614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/tags?post=3614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}