{"id":3502,"date":"2023-07-17T03:21:23","date_gmt":"2023-07-17T03:21:23","guid":{"rendered":"https:\/\/statorials.org\/ja\/r-%e3%81%b8%e3%81%ae%e3%83%9e%e3%83%83%e3%83%95%e3%82%9a%e9%96%a2%e6%95%b0\/"},"modified":"2023-07-17T03:21:23","modified_gmt":"2023-07-17T03:21:23","slug":"r-%e3%81%b8%e3%81%ae%e3%83%9e%e3%83%83%e3%83%95%e3%82%9a%e9%96%a2%e6%95%b0","status":"publish","type":"post","link":"https:\/\/statorials.org\/ja\/r-%e3%81%b8%e3%81%ae%e3%83%9e%e3%83%83%e3%83%95%e3%82%9a%e9%96%a2%e6%95%b0\/","title":{"rendered":"R \u3067 map() \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d)"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">R \u306e<strong>purrr<\/strong>\u30d1\u30c3\u30b1\u30fc\u30b8\u306e<strong>map()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30d9\u30af\u30c8\u30eb\u307e\u305f\u306f\u30ea\u30b9\u30c8\u306e\u5404\u8981\u7d20\u306b\u95a2\u6570\u3092\u9069\u7528\u3057\u3001\u305d\u308c\u306b\u5fdc\u3058\u3066\u30ea\u30b9\u30c8\u3092\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u95a2\u6570\u306f\u6b21\u306e\u57fa\u672c\u69cb\u6587\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>\u30de\u30c3\u30d7(.x, .f)<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">\u91d1\uff1a<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>.x<\/strong> : \u30d9\u30af\u30c8\u30eb\u307e\u305f\u306f\u30ea\u30b9\u30c8<\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>.f<\/strong> : \u95a2\u6570<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u4f8b\u306f\u3001\u3055\u307e\u3056\u307e\u306a\u30b7\u30ca\u30ea\u30aa\u3067\u3053\u306e\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u4f8b 1: map() \u3092\u4f7f\u7528\u3057\u3066\u78ba\u7387\u5909\u6570\u3092\u751f\u6210\u3059\u308b<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>map()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u6a19\u6e96\u6b63\u898f\u5206\u5e03\u306b\u5f93\u3046 5 \u3064\u306e\u5024\u3092\u305d\u308c\u305e\u308c\u542b\u3080 3 \u3064\u306e\u78ba\u7387\u5909\u6570\u3092\u751f\u6210\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: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008000;\">library<\/span> (purrr)\n\n<span style=\"color: #008080;\">#definevector\n<\/span>data &lt;- 1:3\n\n<span style=\"color: #008080;\">#apply rnorm() function to each value in vector<\/span>\ndata %&gt;%\n  map( <span style=\"color: #008000;\">function<\/span> (x) rnorm(5, x))\n\n[[1]]\n[1] 0.0556774 1.8053082 2.6489861 2.2640136 1.1062672\n\n[[2]]\n[1] 1.450175 1.123048 3.413677 3.055304 2.713801\n\n[[3]]\n[1] 2.936732 2.157129 3.693738 2.994391 2.567040\n<\/span><\/span><\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u5143\u306e\u30d9\u30af\u30c8\u30eb\u306e\u5404\u8981\u7d20\u306b\u5bfe\u3057\u3066\u3001 <strong>map()<\/strong>\u95a2\u6570\u306f rnorm() \u95a2\u6570\u3092\u9069\u7528\u3057\u3066\u3001 <a href=\"https:\/\/statorials.org\/ja\/\u6b63\u898f\u5206\u5e03\u3068\u6a19\u6e96\u6b63\u898f\u5206\u5e03\/\" target=\"_blank\" rel=\"noopener\">\u6a19\u6e96\u6b63\u898f\u5206\u5e03<\/a>\u304b\u3089 5 \u3064\u306e\u30e9\u30f3\u30c0\u30e0\u306a\u5024\u3092\u751f\u6210\u3057\u307e\u3057\u305f\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u4f8b 2: map() \u3092\u4f7f\u7528\u3057\u3066\u5404\u5024\u3092\u30d9\u30af\u30c8\u30eb\u306b\u5909\u63db\u3059\u308b<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>map()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u30d9\u30af\u30c8\u30eb\u5185\u306e\u5404\u5024\u306e 2 \u4e57\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: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008000;\">library<\/span> (purrr)\n\n<span style=\"color: #008080;\">#definevector\n<\/span>data &lt;- c(2, 4, 10, 15, 20)\n\n<span style=\"color: #008080;\">#calculate square of each value in the vector<\/span>\ndata %&gt;%\n  map( <span style=\"color: #008000;\">function<\/span> (x) x^2)\n\n[[1]]\n[1] 4\n\n[[2]]\n[1] 16\n\n[[3]]\n[1] 100\n\n[[4]]\n[1] 225\n\n[[5]]\n[1] 400<\/span><\/span><\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u5143\u306e\u30d9\u30af\u30c8\u30eb\u306e\u5404\u8981\u7d20\u306b\u5bfe\u3057\u3066\u3001 <strong>map()<\/strong>\u95a2\u6570\u306f\u5404\u5024\u306e 2 \u4e57\u3092\u8a08\u7b97\u3059\u308b\u95a2\u6570\u3092\u9069\u7528\u3057\u307e\u3057\u305f\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u4f8b 3: map() \u3092\u4f7f\u7528\u3057\u3066\u3001\u30ea\u30b9\u30c8\u5185\u306e\u5404\u30d9\u30af\u30c8\u30eb\u306e\u5e73\u5747\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>map()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u30ea\u30b9\u30c8\u5185\u306e\u5404\u30d9\u30af\u30c8\u30eb\u306e\u5e73\u5747\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: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008000;\">library<\/span> (purrr)\n\n<span style=\"color: #008080;\">#define list of vectors<\/span>\ndata &lt;- list(c(1, 2, 3),\n             c(4, 5, 6),\n             c(7, 8, NA))\n\n<span style=\"color: #008080;\">#calculate mean value of each vector in list\n<\/span>data %&gt;%\n  map(mean, na. <span style=\"color: #3366ff;\">rm<\/span> = <span style=\"color: #008000;\">TRUE<\/span> )\n\n[[1]]\n[1] 2\n\n[[2]]\n[1] 5\n\n[[3]]\n[1] 7.5<\/span><\/span><\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u30ea\u30b9\u30c8\u5185\u306e\u5404\u30d9\u30af\u30c8\u30eb\u306b\u3064\u3044\u3066\u3001 <strong>map()<\/strong>\u95a2\u6570\u306f\u5e73\u5747\u5024\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u7d50\u679c\u304b\u3089\u6b21\u306e\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">\u30ea\u30b9\u30c8\u306e\u6700\u521d\u306e\u30d9\u30af\u30c8\u30eb\u306e\u5e73\u5747\u5024\u306f<strong>2<\/strong>\u3067\u3059\u3002<\/span><\/li>\n<li><span style=\"color: #000000;\">\u30ea\u30b9\u30c8\u306e 2 \u756a\u76ee\u306e\u30d9\u30af\u30c8\u30eb\u306e\u5e73\u5747\u5024\u306f<strong>5<\/strong>\u3067\u3059\u3002<\/span><\/li>\n<li><span style=\"color: #000000;\">\u30ea\u30b9\u30c8\u306e 3 \u756a\u76ee\u306e\u30d9\u30af\u30c8\u30eb\u306e\u5e73\u5747\u5024\u306f<strong>7.5<\/strong>\u3067\u3059\u3002<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><strong>\u6ce8<\/strong>: \u5f15\u6570<strong>na.rm=TRUE<\/strong>\u306f\u3001\u5e73\u5747\u3092\u8a08\u7b97\u3059\u308b\u3068\u304d\u306b NA \u5024\u3092\u7121\u8996\u3059\u308b\u3088\u3046\u306b R \u306b\u6307\u793a\u3057\u307e\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 \u306e\u4ed6\u306e\u4e00\u822c\u7684\u306a\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/ja\/\u30bf\u30c3\u30d5\u309a\u30ear\/\">R\u3067tapply()\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/r-\u30c6\u3099\u30a3\u30e0\u6a5f\u80fd\/\" target=\"_blank\" rel=\"noopener\">R \u3067 dim() \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/r\u306e\u30c6\u30fc\u30d5\u3099\u30eb\u95a2\u6570\/\" target=\"_blank\" rel=\"noopener\">R\u3067table()\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/r\u306e\u7b26\u53f7\u95a2\u6570\/\" target=\"_blank\" rel=\"noopener\">R\u3067sign()\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R \u306epurrr\u30d1\u30c3\u30b1\u30fc\u30b8\u306emap()\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30d9\u30af\u30c8\u30eb\u307e\u305f\u306f\u30ea\u30b9\u30c8\u306e\u5404\u8981\u7d20\u306b\u95a2\u6570\u3092\u9069\u7528\u3057\u3001\u305d\u308c\u306b\u5fdc\u3058\u3066\u30ea\u30b9\u30c8\u3092\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u95a2\u6570\u306f\u6b21\u306e\u57fa\u672c\u69cb\u6587\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 \u30de\u30c3\u30d7(.x, .f) \u91d1\uff1a .x :  [&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-3502","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 map() \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d) - \u8a18\u4e8b<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u306e map() \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u3044\u304f\u3064\u304b\u306e\u4f8b\u3068\u3068\u3082\u306b\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-\u3078\u306e\u30de\u30c3\u30d5\u309a\u95a2\u6570\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R \u3067 map() \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d) - \u8a18\u4e8b\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u306e map() \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u3044\u304f\u3064\u304b\u306e\u4f8b\u3068\u3068\u3082\u306b\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ja\/r-\u3078\u306e\u30de\u30c3\u30d5\u309a\u95a2\u6570\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-17T03:21:23+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-%e3%81%b8%e3%81%ae%e3%83%9e%e3%83%83%e3%83%95%e3%82%9a%e9%96%a2%e6%95%b0\/\",\"url\":\"https:\/\/statorials.org\/ja\/r-%e3%81%b8%e3%81%ae%e3%83%9e%e3%83%83%e3%83%95%e3%82%9a%e9%96%a2%e6%95%b0\/\",\"name\":\"R \u3067 map() \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d) - \u8a18\u4e8b\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ja\/#website\"},\"datePublished\":\"2023-07-17T03:21:23+00:00\",\"dateModified\":\"2023-07-17T03:21:23+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\"},\"description\":\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u306e map() \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u3044\u304f\u3064\u304b\u306e\u4f8b\u3068\u3068\u3082\u306b\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ja\/r-%e3%81%b8%e3%81%ae%e3%83%9e%e3%83%83%e3%83%95%e3%82%9a%e9%96%a2%e6%95%b0\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ja\/r-%e3%81%b8%e3%81%ae%e3%83%9e%e3%83%83%e3%83%95%e3%82%9a%e9%96%a2%e6%95%b0\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ja\/r-%e3%81%b8%e3%81%ae%e3%83%9e%e3%83%83%e3%83%95%e3%82%9a%e9%96%a2%e6%95%b0\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R \u3067 map() \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d)\"}]},{\"@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 map() \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d) - \u8a18\u4e8b","description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u306e map() \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u3044\u304f\u3064\u304b\u306e\u4f8b\u3068\u3068\u3082\u306b\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-\u3078\u306e\u30de\u30c3\u30d5\u309a\u95a2\u6570\/","og_locale":"ja_JP","og_type":"article","og_title":"R \u3067 map() \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d) - \u8a18\u4e8b","og_description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u306e map() \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u3044\u304f\u3064\u304b\u306e\u4f8b\u3068\u3068\u3082\u306b\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/statorials.org\/ja\/r-\u3078\u306e\u30de\u30c3\u30d5\u309a\u95a2\u6570\/","og_site_name":"Statorials","article_published_time":"2023-07-17T03:21:23+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-%e3%81%b8%e3%81%ae%e3%83%9e%e3%83%83%e3%83%95%e3%82%9a%e9%96%a2%e6%95%b0\/","url":"https:\/\/statorials.org\/ja\/r-%e3%81%b8%e3%81%ae%e3%83%9e%e3%83%83%e3%83%95%e3%82%9a%e9%96%a2%e6%95%b0\/","name":"R \u3067 map() \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d) - \u8a18\u4e8b","isPartOf":{"@id":"https:\/\/statorials.org\/ja\/#website"},"datePublished":"2023-07-17T03:21:23+00:00","dateModified":"2023-07-17T03:21:23+00:00","author":{"@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83"},"description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u306e map() \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u3044\u304f\u3064\u304b\u306e\u4f8b\u3068\u3068\u3082\u306b\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/ja\/r-%e3%81%b8%e3%81%ae%e3%83%9e%e3%83%83%e3%83%95%e3%82%9a%e9%96%a2%e6%95%b0\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ja\/r-%e3%81%b8%e3%81%ae%e3%83%9e%e3%83%83%e3%83%95%e3%82%9a%e9%96%a2%e6%95%b0\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ja\/r-%e3%81%b8%e3%81%ae%e3%83%9e%e3%83%83%e3%83%95%e3%82%9a%e9%96%a2%e6%95%b0\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/ja\/"},{"@type":"ListItem","position":2,"name":"R \u3067 map() \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d)"}]},{"@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\/3502","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=3502"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/3502\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/media?parent=3502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/categories?post=3502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/tags?post=3502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}