{"id":957,"date":"2023-07-28T04:38:06","date_gmt":"2023-07-28T04:38:06","guid":{"rendered":"https:\/\/statorials.org\/ko\/%e1%84%8c%e1%85%a9%e1%84%80%e1%85%a5%e1%86%ab%e1%84%87%e1%85%ae-%e1%84%83%e1%85%a9%e1%86%af%e1%84%8b%e1%85%a7%e1%86%ab%e1%84%87%e1%85%a7%e1%86%ab%e1%84%8b%e1%85%b5-r\/"},"modified":"2023-07-28T04:38:06","modified_gmt":"2023-07-28T04:38:06","slug":"%e1%84%8c%e1%85%a9%e1%84%80%e1%85%a5%e1%86%ab%e1%84%87%e1%85%ae-%e1%84%83%e1%85%a9%e1%86%af%e1%84%8b%e1%85%a7%e1%86%ab%e1%84%87%e1%85%a7%e1%86%ab%e1%84%8b%e1%85%b5-r","status":"publish","type":"post","link":"https:\/\/statorials.org\/ko\/%e1%84%8c%e1%85%a9%e1%84%80%e1%85%a5%e1%86%ab%e1%84%87%e1%85%ae-%e1%84%83%e1%85%a9%e1%86%af%e1%84%8b%e1%85%a7%e1%86%ab%e1%84%87%e1%85%a7%e1%86%ab%e1%84%8b%e1%85%b5-r\/","title":{"rendered":"Mutate() \ubc0f case_when()\uc744 \uc0ac\uc6a9\ud558\uc5ec r\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \ub9cc\ub4ed\ub2c8\ub2e4."},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">\ud2b9\uc815 \uc870\uac74\uc5d0 \ub530\ub77c R\uc758 \ub370\uc774\ud130 \ud504\ub808\uc784\uc5d0 \uc0c8 \ubcc0\uc218\ub97c \uc0dd\uc131\ud558\ub824\ub294 \uacbd\uc6b0\uac00 \uc885\uc885 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\ud589\ud788 <a href=\"https:\/\/dplyr.tidyverse.org\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\">dplyr<\/a> \ud328\ud0a4\uc9c0\uc758 <strong>mutate()<\/strong> \ubc0f <strong>case_when()<\/strong> \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uba74 \uc774 \uc791\uc5c5\uc744 \uc27d\uac8c \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 \ub2e4\uc74c \ub370\uc774\ud130 \ud504\ub808\uc784\uacfc \ud568\uaed8 \uc774\ub7ec\ud55c \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\ub294 \uba87 \uac00\uc9c0 \uc608\ub97c \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create data frame<\/span>\ndf &lt;- data.frame(player = c('a', 'b', 'c', 'd', 'e'),\n                 position = c('G', 'F', 'F', 'G', 'G'),\n                 points = c(12, 15, 19, 22, 32),\n                 rebounds = c(5, 7, 7, 12, 11))\n\n<span style=\"color: #008080;\">#view data frame\n<\/span>df\n\n  player position points rebounds\n1 to G 12 5\n2 b F 15 7\n3 c F 19 7\n4 d G 22 12\n5th G 32 11\n<\/strong><\/pre>\n<h3> <strong>\uc608\uc2dc 1: \uae30\uc874 \ubcc0\uc218\ub97c \uae30\ubc18\uc73c\ub85c \uc0c8 \ubcc0\uc218 \ub9cc\ub4e4\uae30<\/strong><\/h3>\n<p> <span style=\"color: #000000;\">\ub2e4\uc74c \ucf54\ub4dc\ub294 \ud3ec\uc778\ud2b8 \uc5f4\uc758 \uac12\uc744 \uae30\ubc18\uc73c\ub85c &#8220;scorer&#8221;\ub77c\ub294 \uc0c8 \ubcc0\uc218\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>library(dplyr)\n\n<span style=\"color: #008080;\">#define new variable 'scorer' using mutate() and case_when()\n<\/span>df %&gt;%\n  <span style=\"color: #3366ff;\">mutate<\/span> (scorer = <span style=\"color: #3366ff;\">case_when<\/span> (points &lt; 15 ~ ' <span style=\"color: #008000;\">low<\/span> ',\n                           points &lt; 25 ~ ' <span style=\"color: #008000;\">med<\/span> ',\n                           points &lt; 35 ~ ' <span style=\"color: #008000;\">high<\/span> '))\n\n  player position points rebounds scorer\n1 a G 12 5 low\n2 b F 15 7 med\n3 c F 19 7 med\n4 d G 22 12 med\n5th G 32 11 high<\/strong><\/pre>\n<h3> <strong>\uc608 2: \uc5ec\ub7ec \uae30\uc874 \ubcc0\uc218\ub97c \uae30\ubc18\uc73c\ub85c \uc0c8 \ubcc0\uc218 \ub9cc\ub4e4\uae30<\/strong><\/h3>\n<p> <span style=\"color: #000000;\">\ub2e4\uc74c \ucf54\ub4dc\ub294 \ud50c\ub808\uc774\uc5b4 \ubc0f \uc704\uce58 \uc5f4\uc758 \uac12\uc744 \uae30\ubc18\uc73c\ub85c &#8220;type&#8221;\uc774\ub77c\ub294 \uc0c8 \ubcc0\uc218\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>library(dplyr)\n\n<span style=\"color: #008080;\">#define new variable 'type' using mutate() and case_when()\n<\/span>df %&gt;%\n  <span style=\"color: #3366ff;\">mutate<\/span> (type = <span style=\"color: #3366ff;\">case_when<\/span> (player == 'a' | player == 'b' ~ ' <span style=\"color: #008000;\">starter<\/span> ',\n                            player == 'c' | player == 'd' ~ ' <span style=\"color: #008000;\">backup<\/span> ',\n                            position == 'G' ~ ' <span style=\"color: #008000;\">reserve<\/span> '))\n\n  player position points rebounds type\n1 a G 12 5 starter\n2 b F 15 7 starter\n3 c F 19 7 backup\n4 d G 22 12 backup\n5th G 32 11 reserve<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\ub2e4\uc74c \ucf54\ub4dc\ub294 \ud3ec\uc778\ud2b8 \ubc0f \ub9ac\ubc14\uc6b4\ub4dc \uc5f4\uc758 \uac12\uc744 \uae30\ubc18\uc73c\ub85c &#8220;valueAdded&#8221;\ub77c\ub294 \uc0c8 \ubcc0\uc218\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>library(dplyr)\n\n<span style=\"color: #008080;\">#define new variable 'valueAdded' using mutate() and case_when()\n<\/span>df %&gt;%\n  <span style=\"color: #3366ff;\">mutate<\/span> (valueAdded = <span style=\"color: #3366ff;\">case_when<\/span> (points &lt;= 15 &amp; rebounds &lt;=5 ~ 2,\n                                points &lt;=15 &amp; rebounds &gt; 5 ~ 4,\n                                points &lt; 25 &amp; rebounds &lt; 8 ~ 6,\n                                points &lt; 25 &amp; rebounds &gt; 8 ~ 7,\n                                points &gt;=25 ~ 9))\n\n  player position points rebounds valueAdded\n1 to G 12 5 2\n2 b F 15 7 4\n3c F 19 7 6\n4 d G 22 12 7\n5th G 32 11 9<\/strong><\/pre>\n<h3> <span style=\"color: #000000;\"><strong>\ucd94\uac00 \ub9ac\uc18c\uc2a4<\/strong><\/span><\/h3>\n<p> <a href=\"https:\/\/statorials.org\/ko\/\u1110\u1169\u11bc\u1100\u1168\u1112\u1161\u11a8\u110b\u1173\u11ab-\u1100\u1161\u11ab\u1103\u1161\u11ab\u1112\u1161\u1100\u1169-\u110c\u1175\u11a8\u110c\u1165\u11b8\u110c\u1165\u11a8\u110b\u1175\u11ab-\u1107\u1161\u11bc\u1107\u1165\u11b8\u110b\u1173\u1105\u1169-\u1100\u1162\u1102\u1167\u11b7\u110b\u1173\u11af-\u1109\u1165\u11af\u1106\u1167\u11bc\u1112\u1161\u1106\u1173\u1105\u1169-\u1110\u1169\u11bc\u1100\u1168\u1105\u1173\u11af-\u1103\u1165-\u1109\u1171\u11b8\u1100\u1166-\u1107\u1162\u110b\u116e\u11af-\u1109\u116e-\u110b\u1175\u11bb\u1109\u1173\u11b8\u1102\u1175\u1103\u1161.\/\" target=\"_blank\" rel=\"noopener noreferrer\">R\uc5d0\uc11c \uc5f4 \uc774\ub984\uc744 \ubc14\uafb8\ub294 \ubc29\ubc95<\/a><br \/> <a href=\"https:\/\/statorials.org\/ko\/r\u110b\u1166\u1109\u1165-\u110b\u1167\u11af-\u110c\u1166\u1100\u1165\/\" target=\"_blank\" rel=\"noopener noreferrer\">R\uc5d0\uc11c \uc5f4\uc744 \uc0ad\uc81c\ud558\ub294 \ubc29\ubc95<\/a><br \/> <a href=\"https:\/\/statorials.org\/ko\/\u1111\u1175\u11af\u1110\u1165-\u1112\u1162\u11bc-r\/\" target=\"_blank\" rel=\"noopener noreferrer\">R\uc5d0\uc11c \ud589\uc744 \ud544\ud130\ub9c1\ud558\ub294 \ubc29\ubc95<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud2b9\uc815 \uc870\uac74\uc5d0 \ub530\ub77c R\uc758 \ub370\uc774\ud130 \ud504\ub808\uc784\uc5d0 \uc0c8 \ubcc0\uc218\ub97c \uc0dd\uc131\ud558\ub824\ub294 \uacbd\uc6b0\uac00 \uc885\uc885 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\ud589\ud788 dplyr \ud328\ud0a4\uc9c0\uc758 mutate() \ubc0f case_when() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uba74 \uc774 \uc791\uc5c5\uc744 \uc27d\uac8c \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 \ub2e4\uc74c \ub370\uc774\ud130 \ud504\ub808\uc784\uacfc \ud568\uaed8 \uc774\ub7ec\ud55c \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\ub294 \uba87 \uac00\uc9c0 \uc608\ub97c \ubcf4\uc5ec\uc90d\ub2c8\ub2e4. #create data frame df &lt;- data.frame(player = c(&#8216;a&#8217;, &#8216;b&#8217;, &#8216;c&#8217;, &#8216;d&#8217;, &#8216;e&#8217;), position = c(&#8216;G&#8217;, &#8216;F&#8217;, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-957","post","type-post","status-publish","format-standard","hentry","category-20"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>mutate() \ubc0f case_when()\uc744 \uc0ac\uc6a9\ud558\uc5ec R\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \ub9cc\ub4ed\ub2c8\ub2e4.<\/title>\n<meta name=\"description\" content=\"mutate() \ubc0f case_when() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec R\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud55c \uac04\ub2e8\ud55c \uc124\uba85\uc785\ub2c8\ub2e4.\" \/>\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\/ko\/\u110c\u1169\u1100\u1165\u11ab\u1107\u116e-\u1103\u1169\u11af\u110b\u1167\u11ab\u1107\u1167\u11ab\u110b\u1175-r\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"mutate() \ubc0f case_when()\uc744 \uc0ac\uc6a9\ud558\uc5ec R\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \ub9cc\ub4ed\ub2c8\ub2e4.\" \/>\n<meta property=\"og:description\" content=\"mutate() \ubc0f case_when() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec R\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud55c \uac04\ub2e8\ud55c \uc124\uba85\uc785\ub2c8\ub2e4.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ko\/\u110c\u1169\u1100\u1165\u11ab\u1107\u116e-\u1103\u1169\u11af\u110b\u1167\u11ab\u1107\u1167\u11ab\u110b\u1175-r\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-28T04:38:06+00:00\" \/>\n<meta name=\"author\" content=\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ko\/%e1%84%8c%e1%85%a9%e1%84%80%e1%85%a5%e1%86%ab%e1%84%87%e1%85%ae-%e1%84%83%e1%85%a9%e1%86%af%e1%84%8b%e1%85%a7%e1%86%ab%e1%84%87%e1%85%a7%e1%86%ab%e1%84%8b%e1%85%b5-r\/\",\"url\":\"https:\/\/statorials.org\/ko\/%e1%84%8c%e1%85%a9%e1%84%80%e1%85%a5%e1%86%ab%e1%84%87%e1%85%ae-%e1%84%83%e1%85%a9%e1%86%af%e1%84%8b%e1%85%a7%e1%86%ab%e1%84%87%e1%85%a7%e1%86%ab%e1%84%8b%e1%85%b5-r\/\",\"name\":\"mutate() \ubc0f case_when()\uc744 \uc0ac\uc6a9\ud558\uc5ec R\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \ub9cc\ub4ed\ub2c8\ub2e4.\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ko\/#website\"},\"datePublished\":\"2023-07-28T04:38:06+00:00\",\"dateModified\":\"2023-07-28T04:38:06+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4\"},\"description\":\"mutate() \ubc0f case_when() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec R\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud55c \uac04\ub2e8\ud55c \uc124\uba85\uc785\ub2c8\ub2e4.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ko\/%e1%84%8c%e1%85%a9%e1%84%80%e1%85%a5%e1%86%ab%e1%84%87%e1%85%ae-%e1%84%83%e1%85%a9%e1%86%af%e1%84%8b%e1%85%a7%e1%86%ab%e1%84%87%e1%85%a7%e1%86%ab%e1%84%8b%e1%85%b5-r\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ko\/%e1%84%8c%e1%85%a9%e1%84%80%e1%85%a5%e1%86%ab%e1%84%87%e1%85%ae-%e1%84%83%e1%85%a9%e1%86%af%e1%84%8b%e1%85%a7%e1%86%ab%e1%84%87%e1%85%a7%e1%86%ab%e1%84%8b%e1%85%b5-r\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ko\/%e1%84%8c%e1%85%a9%e1%84%80%e1%85%a5%e1%86%ab%e1%84%87%e1%85%ae-%e1%84%83%e1%85%a9%e1%86%af%e1%84%8b%e1%85%a7%e1%86%ab%e1%84%87%e1%85%a7%e1%86%ab%e1%84%8b%e1%85%b5-r\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\uc9d1\",\"item\":\"https:\/\/statorials.org\/ko\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mutate() \ubc0f case_when()\uc744 \uc0ac\uc6a9\ud558\uc5ec r\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \ub9cc\ub4ed\ub2c8\ub2e4.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ko\/#website\",\"url\":\"https:\/\/statorials.org\/ko\/\",\"name\":\"Statorials\",\"description\":\"\ud1b5\uacc4 \ud65c\uc6a9 \ub2a5\ub825\uc744 \uc704\ud55c \uac00\uc774\ub4dc!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ko\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4\",\"name\":\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\"},\"description\":\"\uc548\ub155\ud558\uc138\uc694. \uc800\ub294 \ud1b5\uacc4\ud559 \uad50\uc218\ub97c \ud1f4\uc9c1\ud558\uace0 \uc804\uc784 \ud1b5\uacc4 \uad50\uc0ac\ub85c \ubcc0\uc2e0\ud55c \ubca4\uc790\ubbfc\uc785\ub2c8\ub2e4. \ud1b5\uacc4 \ubd84\uc57c\uc758 \uad11\ubc94\uc704\ud55c \uacbd\ud5d8\uacfc \uc804\ubb38 \uc9c0\uc2dd\uc744 \ubc14\ud0d5\uc73c\ub85c Statorials\ub97c \ud1b5\ud574 \ud559\uc0dd\ub4e4\uc5d0\uac8c \ud798\uc744 \uc2e4\uc5b4\uc8fc\uae30 \uc704\ud574 \uc9c0\uc2dd\uc744 \uacf5\uc720\ud558\uace0 \uc2f6\uc2b5\ub2c8\ub2e4. \ub354 \uc54c\uc544\ubcf4\uae30\",\"sameAs\":[\"https:\/\/statorials.org\/ko\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"mutate() \ubc0f case_when()\uc744 \uc0ac\uc6a9\ud558\uc5ec R\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \ub9cc\ub4ed\ub2c8\ub2e4.","description":"mutate() \ubc0f case_when() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec R\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud55c \uac04\ub2e8\ud55c \uc124\uba85\uc785\ub2c8\ub2e4.","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\/ko\/\u110c\u1169\u1100\u1165\u11ab\u1107\u116e-\u1103\u1169\u11af\u110b\u1167\u11ab\u1107\u1167\u11ab\u110b\u1175-r\/","og_locale":"ko_KR","og_type":"article","og_title":"mutate() \ubc0f case_when()\uc744 \uc0ac\uc6a9\ud558\uc5ec R\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \ub9cc\ub4ed\ub2c8\ub2e4.","og_description":"mutate() \ubc0f case_when() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec R\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud55c \uac04\ub2e8\ud55c \uc124\uba85\uc785\ub2c8\ub2e4.","og_url":"https:\/\/statorials.org\/ko\/\u110c\u1169\u1100\u1165\u11ab\u1107\u116e-\u1103\u1169\u11af\u110b\u1167\u11ab\u1107\u1167\u11ab\u110b\u1175-r\/","og_site_name":"Statorials","article_published_time":"2023-07-28T04:38:06+00:00","author":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","Est. reading time":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ko\/%e1%84%8c%e1%85%a9%e1%84%80%e1%85%a5%e1%86%ab%e1%84%87%e1%85%ae-%e1%84%83%e1%85%a9%e1%86%af%e1%84%8b%e1%85%a7%e1%86%ab%e1%84%87%e1%85%a7%e1%86%ab%e1%84%8b%e1%85%b5-r\/","url":"https:\/\/statorials.org\/ko\/%e1%84%8c%e1%85%a9%e1%84%80%e1%85%a5%e1%86%ab%e1%84%87%e1%85%ae-%e1%84%83%e1%85%a9%e1%86%af%e1%84%8b%e1%85%a7%e1%86%ab%e1%84%87%e1%85%a7%e1%86%ab%e1%84%8b%e1%85%b5-r\/","name":"mutate() \ubc0f case_when()\uc744 \uc0ac\uc6a9\ud558\uc5ec R\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \ub9cc\ub4ed\ub2c8\ub2e4.","isPartOf":{"@id":"https:\/\/statorials.org\/ko\/#website"},"datePublished":"2023-07-28T04:38:06+00:00","dateModified":"2023-07-28T04:38:06+00:00","author":{"@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4"},"description":"mutate() \ubc0f case_when() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec R\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud55c \uac04\ub2e8\ud55c \uc124\uba85\uc785\ub2c8\ub2e4.","breadcrumb":{"@id":"https:\/\/statorials.org\/ko\/%e1%84%8c%e1%85%a9%e1%84%80%e1%85%a5%e1%86%ab%e1%84%87%e1%85%ae-%e1%84%83%e1%85%a9%e1%86%af%e1%84%8b%e1%85%a7%e1%86%ab%e1%84%87%e1%85%a7%e1%86%ab%e1%84%8b%e1%85%b5-r\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ko\/%e1%84%8c%e1%85%a9%e1%84%80%e1%85%a5%e1%86%ab%e1%84%87%e1%85%ae-%e1%84%83%e1%85%a9%e1%86%af%e1%84%8b%e1%85%a7%e1%86%ab%e1%84%87%e1%85%a7%e1%86%ab%e1%84%8b%e1%85%b5-r\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ko\/%e1%84%8c%e1%85%a9%e1%84%80%e1%85%a5%e1%86%ab%e1%84%87%e1%85%ae-%e1%84%83%e1%85%a9%e1%86%af%e1%84%8b%e1%85%a7%e1%86%ab%e1%84%87%e1%85%a7%e1%86%ab%e1%84%8b%e1%85%b5-r\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\uc9d1","item":"https:\/\/statorials.org\/ko\/"},{"@type":"ListItem","position":2,"name":"Mutate() \ubc0f case_when()\uc744 \uc0ac\uc6a9\ud558\uc5ec r\uc5d0\uc11c \uc0c8 \ubcc0\uc218\ub97c \ub9cc\ub4ed\ub2c8\ub2e4."}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ko\/#website","url":"https:\/\/statorials.org\/ko\/","name":"Statorials","description":"\ud1b5\uacc4 \ud65c\uc6a9 \ub2a5\ub825\uc744 \uc704\ud55c \uac00\uc774\ub4dc!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ko\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4","name":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8"},"description":"\uc548\ub155\ud558\uc138\uc694. \uc800\ub294 \ud1b5\uacc4\ud559 \uad50\uc218\ub97c \ud1f4\uc9c1\ud558\uace0 \uc804\uc784 \ud1b5\uacc4 \uad50\uc0ac\ub85c \ubcc0\uc2e0\ud55c \ubca4\uc790\ubbfc\uc785\ub2c8\ub2e4. \ud1b5\uacc4 \ubd84\uc57c\uc758 \uad11\ubc94\uc704\ud55c \uacbd\ud5d8\uacfc \uc804\ubb38 \uc9c0\uc2dd\uc744 \ubc14\ud0d5\uc73c\ub85c Statorials\ub97c \ud1b5\ud574 \ud559\uc0dd\ub4e4\uc5d0\uac8c \ud798\uc744 \uc2e4\uc5b4\uc8fc\uae30 \uc704\ud574 \uc9c0\uc2dd\uc744 \uacf5\uc720\ud558\uace0 \uc2f6\uc2b5\ub2c8\ub2e4. \ub354 \uc54c\uc544\ubcf4\uae30","sameAs":["https:\/\/statorials.org\/ko"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts\/957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/comments?post=957"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts\/957\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/media?parent=957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/categories?post=957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/tags?post=957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}