{"id":945,"date":"2023-07-28T05:49:15","date_gmt":"2023-07-28T05:49:15","guid":{"rendered":"https:\/\/statorials.org\/cn\/%e8%bf%87%e6%bb%a4%e8%a1%8c-r\/"},"modified":"2023-07-28T05:49:15","modified_gmt":"2023-07-28T05:49:15","slug":"%e8%bf%87%e6%bb%a4%e8%a1%8c-r","status":"publish","type":"post","link":"https:\/\/statorials.org\/cn\/%e8%bf%87%e6%bb%a4%e8%a1%8c-r\/","title":{"rendered":"\u5982\u4f55\u5728 r \u4e2d\u8fc7\u6ee4\u884c"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">\u901a\u5e38\uff0c\u60a8\u53ef\u80fd\u5bf9 R \u4e2d\u57fa\u4e8e\u67d0\u4e9b\u6761\u4ef6\u7684\u6570\u636e\u6846\u5b50\u96c6\u611f\u5174\u8da3\u3002\u5e78\u8fd0\u7684\u662f\uff0c\u4f7f\u7528<a href=\"https:\/\/dplyr.tidyverse.org\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\">dplyr<\/a>\u5305\u4e2d\u7684<a href=\"https:\/\/dplyr.tidyverse.org\/reference\/filter.html\" target=\"_blank\" rel=\"noopener noreferrer\">filter()<\/a>\u51fd\u6570\u53ef\u4ee5\u8f7b\u677e\u505a\u5230\u8fd9\u4e00\u70b9\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>library(dplyr)<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u4f7f\u7528\u540d\u4e3a<strong>starwars<\/strong>\u7684\u5185\u7f6e dplyr \u6570\u636e\u96c6\u5b9e\u9645\u4f7f\u7528\u6b64\u529f\u80fd\u7684\u51e0\u4e2a\u793a\u4f8b\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#view first six rows of starwars dataset<\/span>\nhead(starwars)\n\n# A tibble: 6 x 13\n  name height mass hair_color skin_color eye_color birth_year gender homeworld\n                                   \n1 Luke~ 172 77 blond fair blue 19 male Tatooine \n2 C-3PO 167 75 &lt;NA&gt; gold yellow 112 &lt;NA&gt; Tatooine \n3 R2-D2 96 32 &lt;NA&gt; white, bl~ red 33 &lt;NA&gt; Naboo    \n4 Dart~ 202 136 none white yellow 41.9 male Tatooine \n5 Leia~ 150 49 brown light brown 19 female Alderaan \n6 Owen~ 178 120 brown, gr~ light blue 52 male Tatooine \n# ... with 4 more variables: species , films , vehicles ,\n# starships \n<\/strong><\/pre>\n<h3><strong><span style=\"color: #000000;\">\u793a\u4f8b 1\uff1a\u8fc7\u6ee4\u7b49\u4e8e\u67d0\u4e2a\u503c\u7684\u884c<\/span><\/strong><\/h3>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u4ee3\u7801\u663e\u793a\u5982\u4f55\u8fc7\u6ee4\u6570\u636e\u96c6\u4ee5\u67e5\u627e\u53d8\u91cf\u201cspecies\u201d\u7b49\u4e8e Droid \u7684\u884c\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>starwars %&gt;% filter(species == ' <span style=\"color: #008000;\">Droid<\/span> ')\n\n# A tibble: 5 x 13\n  name height mass hair_color skin_color eye_color birth_year gender homeworld\n                                   \n1 C-3PO 167 75 gold yellow 112 Tatooine \n2 R2-D2 96 32 white, bl~ red 33 Naboo    \n3 R5-D4 97 32 white, red red NA Tatooine \n4 IG-88 200 140 none metal red 15 none        \n5 BB8 NA NA none none black NA none        \n# ... with 4 more variables: species , films , vehicles ,\n# starships \n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u6570\u636e\u96c6\u6709 5 \u884c\u6ee1\u8db3\u6b64\u6761\u4ef6\uff0c\u5982<em>#A tibble: 5 x 13<\/em>\u6240\u793a\u3002<\/span><\/p>\n<h3><strong><span style=\"color: #000000;\">\u793a\u4f8b 2\uff1a\u4f7f\u7528\u201cAnd\u201d\u8fc7\u6ee4\u884c<\/span><\/strong><\/h3>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u8fd8\u53ef\u4ee5\u8fc7\u6ee4\u7269\u79cd\u4e3a Droid<strong>\u4e14<\/strong>\u773c\u775b\u989c\u8272\u4e3a\u7ea2\u8272\u7684\u884c\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>starwars %&gt;% filter(species == ' <span style=\"color: #008000;\">Droid<\/span> ' <span style=\"color: #993300;\">&amp;<\/span> eye_color == ' <span style=\"color: #008000;\">red<\/span> ')\n\n# A tibble: 3 x 13\n  name height mass hair_color skin_color eye_color birth_year gender homeworld\n                                   \n1 R2-D2 96 32 &lt;NA&gt; white, bl~ red 33 &lt;NA&gt; Naboo    \n2 R5-D4 97 32 &lt;NA&gt; white, red red NA &lt;NA&gt; Tatooine \n3 IG-88 200 140 none metal red 15 none &lt;NA&gt;      \n# ... with 4 more variables: species , films , vehicles ,\n# starships \n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u6570\u636e\u96c6\u4e2d\u6709 3 \u884c\u6ee1\u8db3\u8fd9\u4e2a\u6761\u4ef6\u3002<\/span><\/p>\n<h3><strong><span style=\"color: #000000;\">\u793a\u4f8b 3\uff1a\u4f7f\u7528\u201c\u6216\u201d\u8fc7\u6ee4\u884c<\/span><\/strong><\/h3>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u8fd8\u53ef\u4ee5\u8fc7\u6ee4\u7269\u79cd\u4e3a Droid<strong>\u6216<\/strong>\u773c\u775b\u989c\u8272\u4e3a\u7ea2\u8272\u7684\u884c\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>starwars %&gt;% filter(species == ' <span style=\"color: #008000;\">Droid<\/span> ' <span style=\"color: #993300;\">|<\/span> eye_color == ' <span style=\"color: #008000;\">red<\/span> ')\n\n# A tibble: 7 x 13\n  name height mass hair_color skin_color eye_color birth_year gender homeworld\n                                   \n1 C-3PO 167 75 &lt;NA&gt; gold yellow 112 &lt;NA&gt; Tatooine \n2 R2-D2 96 32 &lt;NA&gt; white, bl~ red 33 &lt;NA&gt; Naboo    \n3 R5-D4 97 32 &lt;NA&gt; white, red red NA &lt;NA&gt; Tatooine \n4 IG-88 200 140 none metal red 15 none &lt;NA&gt;     \n5 Bossk 190 113 none green red 53 male Trandosha\n6 Nute~ 191 90 none mottled g~ red NA male Cato Nei~\n7 BB8 NA NA none none black NA none &lt;NA&gt;     \n# ... with 4 more variables: species , films , vehicles ,\n# starships  \n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u6570\u636e\u96c6\u4e2d\u6709 7 \u884c\u6ee1\u8db3\u8fd9\u4e2a\u6761\u4ef6\u3002<\/span><\/p>\n<h3><strong><span style=\"color: #000000;\">\u793a\u4f8b 4\uff1a\u8fc7\u6ee4\u5217\u8868\u4e2d\u5305\u542b\u503c\u7684\u884c<\/span><\/strong><\/h3>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u8fd8\u53ef\u4ee5\u8fc7\u6ee4\u989c\u8272\u5217\u8868\u4e2d\u51fa\u73b0\u773c\u775b\u989c\u8272\u7684\u884c\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>starwars %&gt;% filter(eye_color <span style=\"color: #993300;\">%in%<\/span> c(' <span style=\"color: #008000;\">blue<\/span> ', ' <span style=\"color: #008000;\">yellow<\/span> ', ' <span style=\"color: #008000;\">red<\/span> '))\n\n# A tibble: 35 x 13\n   name height mass hair_color skin_color eye_color birth_year gender\n                               \n 1 Luke~ 172 77 blond fair blue 19 male  \n 2 C-3PO 167 75 &lt;NA&gt; gold yellow 112 &lt;NA&gt; \n 3 R2-D2 96 32 &lt;NA&gt; white, bl~ red 33 &lt;NA&gt;  \n 4 Dart~ 202 136 none white yellow 41.9 male  \n 5 Owen~ 178 120 brown, gr~ light blue 52 male  \n 6 Beru~ 165 75 brown light blue 47 female\n 7 R5-D4 97 32 &lt;NA&gt; white, red red NA &lt;NA&gt; \n 8 Anak~ 188 84 blond fair blue 41.9 male  \n 9 Wilh~ 180 NA auburn, g~ fair blue 64 male  \n10 Chew~ 228 112 brown unknown blue 200 male  \n# ... with 25 more rows, and 5 more variables: homeworld, species,\n# films, vehicles, starships  \n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u6570\u636e\u96c6\u4e2d\u6709 35 \u884c\u7684\u773c\u775b\u989c\u8272\u4e3a\u84dd\u8272\u3001\u9ec4\u8272\u6216\u7ea2\u8272\u3002<\/span><\/p>\n<p><strong><span style=\"color: #000000;\">\u76f8\u5173\uff1a<\/span><\/strong> <a href=\"https:\/\/statorials.org\/cn\/r-\u4e2d\u7684-in-\u8fd0\u7b97\u7b26\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u5982\u4f55\u5728 R \u4e2d\u4f7f\u7528 %in% \u8fd0\u7b97\u7b26\uff08\u9644\u793a\u4f8b\uff09<\/a><\/p>\n<h3><strong><span style=\"color: #000000;\">\u793a\u4f8b 5\uff1a\u4f7f\u7528\u5c0f\u4e8e\u6216\u5927\u4e8e\u8fc7\u6ee4\u884c<\/span><\/strong><\/h3>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u8fd8\u53ef\u4ee5\u5bf9\u6570\u503c\u53d8\u91cf\u4f7f\u7528\u5c0f\u4e8e\u6216\u5927\u4e8e\u8fd0\u7b97\u6765\u8fc7\u6ee4\u884c\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#find rows where height is greater than 250<\/span>\nstarwars %&gt;% filter(height <span style=\"color: #993300;\">&gt;<\/span> 250)\n\n# A tibble: 1 x 13\n  name height mass hair_color skin_color eye_color birth_year gender homeworld\n                                   \n1 Yara~ 264 NA none white yellow NA male Quermia  \n# ... with 4 more variables: species , films , vehicles ,\n# starships   \n\n<span style=\"color: #008080;\">#find rows where height is between 200 and 220<\/span>\nstarwars %&gt;% filter(height <span style=\"color: #993300;\">&gt;<\/span> 200 <span style=\"color: #993300;\">&amp;<\/span> height <span style=\"color: #993300;\">&lt;<\/span> 220)\n\n# A tibble: 5 x 13\n  name height mass hair_color skin_color eye_color birth_year gender homeworld\n                                   \n1 Dart~ 202 136 none white yellow 41.9 male Tatooine \n2 Rugo~ 206 NA none green orange NA male Naboo    \n3 Taun~ 213 NA none gray black NA female Kamino   \n4 Grie~ 216 159 none brown, wh~ green, y~ NA male Kalee    \n5 Tion~ 206 80 none gray black NA male Utapau   \n# ... with 4 more variables: species , films , vehicles ,\n# starships \n\n<span style=\"color: #008080;\">#find rows where height is above the average height\n<span style=\"color: #000000;\">starwars %&gt;% filter(height <span style=\"color: #993300;\">&gt;<\/span> <span style=\"color: #3366ff;\">mean<\/span> (height, na.rm = <span style=\"color: #008000;\">TRUE<\/span> ))\n\n# A tibble: 51 x 13\n   name height mass hair_color skin_color eye_color birth_year gender\n                               \n 1 Dart~ 202 136 none white yellow 41.9 male  \n 2 Owen~ 178 120 brown, gr~ light blue 52 male  \n 3 Bigg~ 183 84 black light brown 24 male  \n 4 Obi-~ 182 77 auburn, w~ fair blue-gray 57 male  \n 5 Anak~ 188 84 blond fair blue 41.9 male  \n 6 Wilh~ 180 NA auburn, g~ fair blue 64 male  \n 7 Chew~ 228 112 brown unknown blue 200 male  \n 8 Han ~ 180 80 brown fair brown 29 male  \n 9 Jabb~ 175 1358 &lt;NA&gt; green-tan~ orange 600 herma~\n10 Jek ~ 180 110 brown fair blue NA male  \n# ... with 41 more rows, and 5 more variables: homeworld, species,\n# films, vehicles, starships<\/span><\/span>\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\"><em>\u60a8\u53ef\u4ee5<a href=\"https:\/\/dplyr.tidyverse.org\/reference\/filter.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u5728\u6b64\u5904<\/a>\u627e\u5230<strong>filter()<\/strong>\u51fd\u6570\u7684\u5b8c\u6574\u6587\u6863\u3002<\/em><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u5e38\uff0c\u60a8\u53ef\u80fd\u5bf9 R \u4e2d\u57fa\u4e8e\u67d0\u4e9b\u6761\u4ef6\u7684\u6570\u636e\u6846\u5b50\u96c6\u611f\u5174\u8da3\u3002\u5e78\u8fd0\u7684\u662f\uff0c\u4f7f\u7528dplyr\u5305\u4e2d\u7684filter()\u51fd\u6570\u53ef\u4ee5\u8f7b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-945","post","type-post","status-publish","format-standard","hentry","category-11"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u5728 R \u4e2d\u8fc7\u6ee4\u884c \u2013 Statorials<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5982\u4f55\u4f7f\u7528 dplyr \u5305\u4e2d\u7684 filter() \u51fd\u6570\u8fc7\u6ee4 R \u4e2d\u7684\u6570\u636e\u7684\u7b80\u5355\u8bf4\u660e\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\/cn\/\u8fc7\u6ee4\u884c-r\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728 R \u4e2d\u8fc7\u6ee4\u884c \u2013 Statorials\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5982\u4f55\u4f7f\u7528 dplyr \u5305\u4e2d\u7684 filter() \u51fd\u6570\u8fc7\u6ee4 R \u4e2d\u7684\u6570\u636e\u7684\u7b80\u5355\u8bf4\u660e\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/cn\/\u8fc7\u6ee4\u884c-r\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-28T05:49:15+00:00\" \/>\n<meta name=\"author\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/cn\/%e8%bf%87%e6%bb%a4%e8%a1%8c-r\/\",\"url\":\"https:\/\/statorials.org\/cn\/%e8%bf%87%e6%bb%a4%e8%a1%8c-r\/\",\"name\":\"\u5982\u4f55\u5728 R \u4e2d\u8fc7\u6ee4\u884c \u2013 Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/cn\/#website\"},\"datePublished\":\"2023-07-28T05:49:15+00:00\",\"dateModified\":\"2023-07-28T05:49:15+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\"},\"description\":\"\u5173\u4e8e\u5982\u4f55\u4f7f\u7528 dplyr \u5305\u4e2d\u7684 filter() \u51fd\u6570\u8fc7\u6ee4 R \u4e2d\u7684\u6570\u636e\u7684\u7b80\u5355\u8bf4\u660e\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/cn\/%e8%bf%87%e6%bb%a4%e8%a1%8c-r\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/cn\/%e8%bf%87%e6%bb%a4%e8%a1%8c-r\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/cn\/%e8%bf%87%e6%bb%a4%e8%a1%8c-r\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728 r \u4e2d\u8fc7\u6ee4\u884c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/cn\/#website\",\"url\":\"https:\/\/statorials.org\/cn\/\",\"name\":\"Statorials\",\"description\":\"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/cn\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\",\"name\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\"},\"description\":\"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a\",\"sameAs\":[\"https:\/\/statorials.org\/cn\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u5728 R \u4e2d\u8fc7\u6ee4\u884c \u2013 Statorials","description":"\u5173\u4e8e\u5982\u4f55\u4f7f\u7528 dplyr \u5305\u4e2d\u7684 filter() \u51fd\u6570\u8fc7\u6ee4 R \u4e2d\u7684\u6570\u636e\u7684\u7b80\u5355\u8bf4\u660e\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\/cn\/\u8fc7\u6ee4\u884c-r\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728 R \u4e2d\u8fc7\u6ee4\u884c \u2013 Statorials","og_description":"\u5173\u4e8e\u5982\u4f55\u4f7f\u7528 dplyr \u5305\u4e2d\u7684 filter() \u51fd\u6570\u8fc7\u6ee4 R \u4e2d\u7684\u6570\u636e\u7684\u7b80\u5355\u8bf4\u660e\u3002","og_url":"https:\/\/statorials.org\/cn\/\u8fc7\u6ee4\u884c-r\/","og_site_name":"Statorials","article_published_time":"2023-07-28T05:49:15+00:00","author":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/cn\/%e8%bf%87%e6%bb%a4%e8%a1%8c-r\/","url":"https:\/\/statorials.org\/cn\/%e8%bf%87%e6%bb%a4%e8%a1%8c-r\/","name":"\u5982\u4f55\u5728 R \u4e2d\u8fc7\u6ee4\u884c \u2013 Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/cn\/#website"},"datePublished":"2023-07-28T05:49:15+00:00","dateModified":"2023-07-28T05:49:15+00:00","author":{"@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261"},"description":"\u5173\u4e8e\u5982\u4f55\u4f7f\u7528 dplyr \u5305\u4e2d\u7684 filter() \u51fd\u6570\u8fc7\u6ee4 R \u4e2d\u7684\u6570\u636e\u7684\u7b80\u5355\u8bf4\u660e\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/cn\/%e8%bf%87%e6%bb%a4%e8%a1%8c-r\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/cn\/%e8%bf%87%e6%bb%a4%e8%a1%8c-r\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/cn\/%e8%bf%87%e6%bb%a4%e8%a1%8c-r\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728 r \u4e2d\u8fc7\u6ee4\u884c"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/cn\/#website","url":"https:\/\/statorials.org\/cn\/","name":"Statorials","description":"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/cn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261","name":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a"},"description":"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a","sameAs":["https:\/\/statorials.org\/cn"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/comments?post=945"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/945\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/media?parent=945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/categories?post=945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/tags?post=945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}