{"id":4146,"date":"2023-07-13T06:30:37","date_gmt":"2023-07-13T06:30:37","guid":{"rendered":"https:\/\/statorials.org\/ja\/r-dcast%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\/"},"modified":"2023-07-13T06:30:37","modified_gmt":"2023-07-13T06:30:37","slug":"r-dcast%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","status":"publish","type":"post","link":"https:\/\/statorials.org\/ja\/r-dcast%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\/","title":{"rendered":"R\u3067data.table\u306edcast\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">R \u306e<strong>data.table<\/strong>\u30d1\u30c3\u30b1\u30fc\u30b8\u306e<strong>dcast<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c7\u30fc\u30bf\u306e\u30d5\u30ec\u30fc\u30e0\u3092<a href=\"https:\/\/statorials.org\/ja\/\u9577\u3044\u30c6\u3099\u30fc\u30bf\u3068\u5e83\u3044\u30c6\u3099\u30fc\u30bf\/\" target=\"_blank\" rel=\"noopener\">\u30ed\u30f3\u30b0\u5f62\u5f0f<\/a>\u304b\u3089\u30ef\u30a4\u30c9\u5f62\u5f0f\u306b\u518d\u5f62\u6210\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u95a2\u6570\u306f\u3001\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u5185\u306e\u7279\u5b9a\u306e\u5909\u6570\u3092\u4ed6\u306e\u5909\u6570\u3054\u3068\u306b\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u3066\u8981\u7d04\u3059\u308b\u5834\u5408\u306b\u7279\u306b\u4fbf\u5229\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u4f8b\u306f\u3001R \u306e\u6b21\u306e\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u3067<strong>dcast<\/strong>\u95a2\u6570\u3092\u5b9f\u969b\u306b\u4f7f\u7528\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> (data.table)\n\n<span style=\"color: #008080;\">#create data frame\n<\/span>df &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (team=c('A', 'A', 'A', 'A', 'B', 'B', 'B', 'B'),\n                 position=c('G', 'G', 'F', 'F', 'G', 'G', 'F', 'F'),\n                 points=c(18, 13, 10, 12, 16, 25, 24, 31),\n                 assists=c(9, 8, 8, 5, 12, 15, 10, 7))\n\n<span style=\"color: #008080;\">#convert data frame to data table\n<\/span>dt &lt;- setDT(df)\n\n<span style=\"color: #008080;\">#view data table\n<\/span>dt\n\n   team position points assists\n1: AG 18 9\n2: AG 13 8\n3:AF 10 8\n4:AF 12 5\n5: BG 16 12\n6: BG 25 15\n7: BF 24 10\n8: BF 31 7<\/strong><\/pre>\n<h2><span style=\"color: #000000;\"><strong>\u4f8b 1: \u4ed6\u306e\u5909\u6570\u3067\u30b0\u30eb\u30fc\u30d7\u5316\u3055\u308c\u305f\u5909\u6570\u306e\u30e1\u30c8\u30ea\u30c3\u30af\u3092\u8a08\u7b97\u3059\u308b<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>dcast<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001<strong>\u30c1\u30fc\u30e0<\/strong>\u5909\u6570\u3068<strong>\u30dd\u30b8\u30b7\u30e7\u30f3<\/strong>\u5909\u6570\u3054\u3068\u306b\u30b0\u30eb\u30fc\u30d7\u5316\u3055\u308c\u305f\u5e73\u5747<strong>\u30dd\u30a4\u30f3\u30c8<\/strong>\u5024\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;\"> <strong><span style=\"color: #008000;\">library<\/span> (data.table)\n\n<span style=\"color: #008080;\">#calculate mean points value by team and position\n<\/span>dt_new &lt;- dcast(dt,\n                team + position ~.,\n                fun. <span style=\"color: #3366ff;\">aggregate<\/span> = mean, \n                value. <span style=\"color: #3366ff;\">var<\/span> = ' <span style=\"color: #ff0000;\">points<\/span> ')\n\n<span style=\"color: #008080;\">#view results\n<\/span>dt_new\n\n   team position.\n1:AF 11.0\n2: AG 15.5\n3: BF 27.5\n4: BG 20.5\n<\/strong><\/pre>\n<h2><span style=\"color: #000000;\"><strong>\u4f8b 2:<\/strong><\/span><span style=\"color: #000000;\"><strong>\u4ed6\u306e\u5909\u6570\u3054\u3068\u306b\u30b0\u30eb\u30fc\u30d7\u5316\u3055\u308c\u305f\u5909\u6570\u306e\u8907\u6570\u306e\u30e1\u30c8\u30ea\u30c3\u30af\u3092\u8a08\u7b97\u3059\u308b<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>dcast<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001<strong>\u30c1\u30fc\u30e0\u5909\u6570<\/strong>\u3068<strong>\u30dd\u30b8\u30b7\u30e7\u30f3<\/strong>\u5909\u6570\u3054\u3068\u306b\u30b0\u30eb\u30fc\u30d7\u5316\u3055\u308c\u305f\u5e73\u5747<strong>\u30dd\u30a4\u30f3\u30c8<\/strong>\u5024\u3068\u6700\u5927<strong>\u30dd\u30a4\u30f3\u30c8<\/strong>\u5024\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;\"> <strong><span style=\"color: #008000;\">library<\/span> (data.table)\n\n<span style=\"color: #008080;\">#calculate mean and max points values by team and position\n<\/span>dt_new &lt;- dcast(dt,\n                team + position ~.,\n                fun. <span style=\"color: #3366ff;\">aggregate<\/span> = list(mean, max), \n                value. <span style=\"color: #3366ff;\">var<\/span> = ' <span style=\"color: #ff0000;\">points<\/span> ')\n\n<span style=\"color: #008080;\">#view results\n<\/span>dt_new\n\n   team position points_mean points_max\n1:AF 11.0 12\n2: AG 15.5 18\n3: BF 27.5 31\n4: BG 20.5 25<\/strong><\/pre>\n<h2><span style=\"color: #000000;\"><strong>\u4f8b 3:<\/strong><\/span><span style=\"color: #000000;\"><strong>\u4ed6\u306e\u5909\u6570\u306b\u3088\u3063\u3066\u30b0\u30eb\u30fc\u30d7\u5316\u3055\u308c\u305f\u8907\u6570\u306e\u5909\u6570\u306e\u30e1\u30c8\u30ea\u30c3\u30af\u3092\u8a08\u7b97\u3059\u308b<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>dcast<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001<strong>\u30c1\u30fc\u30e0<\/strong>\u5909\u6570\u3068<strong>\u30dd\u30b8\u30b7\u30e7\u30f3<\/strong>\u5909\u6570\u3054\u3068\u306b\u30b0\u30eb\u30fc\u30d7\u5316\u3055\u308c\u305f\u5e73\u5747<strong>\u30dd\u30a4\u30f3\u30c8<\/strong>\u5024\u3068\u5e73\u5747<strong>\u30a2\u30b7\u30b9\u30c8<\/strong>\u5024\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;\"> <strong><span style=\"color: #008000;\">library<\/span> (data.table)\n\n<span style=\"color: #008080;\">#calculate mean and max points values by team and position\n<\/span>dt_new &lt;- dcast(dt,\n                team + position ~.,\n                fun. <span style=\"color: #3366ff;\">aggregate<\/span> = mean, \n                value. <span style=\"color: #3366ff;\">var<\/span> = c(' <span style=\"color: #ff0000;\">points<\/span> ', ' <span style=\"color: #ff0000;\">assists<\/span> '))\n\n<span style=\"color: #008080;\">#view results\n<\/span>dt_new\n\n   team position points assists\n1:AF 11.0 6.5\n2: AG 15.5 8.5\n3: BF 27.5 8.5\n4: BG 20.5 13.5<\/strong><\/pre>\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\u3001\u30c7\u30fc\u30bf \u30c6\u30fc\u30d6\u30eb\u306b\u95a2\u3059\u308b\u8ffd\u52a0\u60c5\u5831\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/span><\/p>\n<p> <a 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\/\" target=\"_blank\" rel=\"noopener\">R \u306e data.table \u3068\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0: 3 \u3064\u306e\u4e3b\u306a\u9055\u3044<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/r-\u306e\u30d5\u30a3\u30eb\u30bf\u30fc-\u30c6\u3099\u30fc\u30bf-\u30c6\u30fc\u30d5\u3099\u30eb\/\" target=\"_blank\" rel=\"noopener\">R \u3067 data.table \u3092\u30d5\u30a3\u30eb\u30bf\u30fc\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/rbindlist\/\" target=\"_blank\" rel=\"noopener\">R \u3067 rbindlist \u3092\u4f7f\u7528\u3057\u3066\u8907\u6570\u306e\u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R \u306edata.table\u30d1\u30c3\u30b1\u30fc\u30b8\u306edcast\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c7\u30fc\u30bf\u306e\u30d5\u30ec\u30fc\u30e0\u3092\u30ed\u30f3\u30b0\u5f62\u5f0f\u304b\u3089\u30ef\u30a4\u30c9\u5f62\u5f0f\u306b\u518d\u5f62\u6210\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u95a2\u6570\u306f\u3001\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u5185\u306e\u7279\u5b9a\u306e\u5909\u6570\u3092\u4ed6\u306e\u5909\u6570\u3054\u3068\u306b\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u3066\u8981\u7d04\u3059\u308b\u5834\u5408\u306b\u7279\u306b\u4fbf\u5229 [&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-4146","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 \u3067 data.table dcast \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e data.table \u30d1\u30c3\u30b1\u30fc\u30b8\u306e dcast \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c7\u30fc\u30bf\u306e\u30d6\u30ed\u30c3\u30af\u3092\u30ed\u30f3\u30b0\u5f62\u5f0f\u304b\u3089\u30ef\u30a4\u30c9\u5f62\u5f0f\u306b\u518d\u5f62\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\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-dcast\u30c6\u3099\u30fc\u30bf\u30c6\u30fc\u30d5\u3099\u30eb\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R \u3067 data.table dcast \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e data.table \u30d1\u30c3\u30b1\u30fc\u30b8\u306e dcast \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c7\u30fc\u30bf\u306e\u30d6\u30ed\u30c3\u30af\u3092\u30ed\u30f3\u30b0\u5f62\u5f0f\u304b\u3089\u30ef\u30a4\u30c9\u5f62\u5f0f\u306b\u518d\u5f62\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ja\/r-dcast\u30c6\u3099\u30fc\u30bf\u30c6\u30fc\u30d5\u3099\u30eb\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-13T06:30:37+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=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ja\/r-dcast%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\/\",\"url\":\"https:\/\/statorials.org\/ja\/r-dcast%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\/\",\"name\":\"R \u3067 data.table dcast \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ja\/#website\"},\"datePublished\":\"2023-07-13T06:30:37+00:00\",\"dateModified\":\"2023-07-13T06:30:37+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.table \u30d1\u30c3\u30b1\u30fc\u30b8\u306e dcast \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c7\u30fc\u30bf\u306e\u30d6\u30ed\u30c3\u30af\u3092\u30ed\u30f3\u30b0\u5f62\u5f0f\u304b\u3089\u30ef\u30a4\u30c9\u5f62\u5f0f\u306b\u518d\u5f62\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ja\/r-dcast%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\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ja\/r-dcast%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\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ja\/r-dcast%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\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R\u3067data.table\u306edcast\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\"}]},{\"@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 \u3067 data.table dcast \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08","description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e data.table \u30d1\u30c3\u30b1\u30fc\u30b8\u306e dcast \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c7\u30fc\u30bf\u306e\u30d6\u30ed\u30c3\u30af\u3092\u30ed\u30f3\u30b0\u5f62\u5f0f\u304b\u3089\u30ef\u30a4\u30c9\u5f62\u5f0f\u306b\u518d\u5f62\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\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-dcast\u30c6\u3099\u30fc\u30bf\u30c6\u30fc\u30d5\u3099\u30eb\/","og_locale":"ja_JP","og_type":"article","og_title":"R \u3067 data.table dcast \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08","og_description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e data.table \u30d1\u30c3\u30b1\u30fc\u30b8\u306e dcast \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c7\u30fc\u30bf\u306e\u30d6\u30ed\u30c3\u30af\u3092\u30ed\u30f3\u30b0\u5f62\u5f0f\u304b\u3089\u30ef\u30a4\u30c9\u5f62\u5f0f\u306b\u518d\u5f62\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/statorials.org\/ja\/r-dcast\u30c6\u3099\u30fc\u30bf\u30c6\u30fc\u30d5\u3099\u30eb\/","og_site_name":"Statorials","article_published_time":"2023-07-13T06:30:37+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":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ja\/r-dcast%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\/","url":"https:\/\/statorials.org\/ja\/r-dcast%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\/","name":"R \u3067 data.table dcast \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08","isPartOf":{"@id":"https:\/\/statorials.org\/ja\/#website"},"datePublished":"2023-07-13T06:30:37+00:00","dateModified":"2023-07-13T06:30:37+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.table \u30d1\u30c3\u30b1\u30fc\u30b8\u306e dcast \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c7\u30fc\u30bf\u306e\u30d6\u30ed\u30c3\u30af\u3092\u30ed\u30f3\u30b0\u5f62\u5f0f\u304b\u3089\u30ef\u30a4\u30c9\u5f62\u5f0f\u306b\u518d\u5f62\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/ja\/r-dcast%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\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ja\/r-dcast%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\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ja\/r-dcast%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\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/ja\/"},{"@type":"ListItem","position":2,"name":"R\u3067data.table\u306edcast\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5"}]},{"@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\/4146","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=4146"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/4146\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/media?parent=4146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/categories?post=4146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/tags?post=4146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}