{"id":2040,"date":"2023-07-23T23:41:54","date_gmt":"2023-07-23T23:41:54","guid":{"rendered":"https:\/\/statorials.org\/cn\/r-%e9%97%ad%e5%8c%85%e7%b1%bb%e5%9e%8b%e5%af%b9%e8%b1%a1%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4\/"},"modified":"2023-07-23T23:41:54","modified_gmt":"2023-07-23T23:41:54","slug":"r-%e9%97%ad%e5%8c%85%e7%b1%bb%e5%9e%8b%e5%af%b9%e8%b1%a1%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4","status":"publish","type":"post","link":"https:\/\/statorials.org\/cn\/r-%e9%97%ad%e5%8c%85%e7%b1%bb%e5%9e%8b%e5%af%b9%e8%b1%a1%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4\/","title":{"rendered":"\u5982\u4f55\u5728 r \u4e2d\u5904\u7406\uff1a\u201c\u95ed\u5305\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u5b50\u5b9a\u4e49"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">\u5728 R \u4e2d\u60a8\u53ef\u80fd\u9047\u5230\u7684\u9519\u8bef\u662f\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>object of type 'closure' is not subsettable\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u5f53\u60a8\u5c1d\u8bd5\u5bf9\u51fd\u6570\u8fdb\u884c\u5b50\u96c6\u5316\u65f6\uff0c\u4f1a\u51fa\u73b0\u6b64\u9519\u8bef\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u5728 R \u4e2d\uff0c\u53ef\u4ee5\u5bf9\u5217\u8868\u3001\u5411\u91cf\u3001\u77e9\u9635\u548c\u6570\u636e\u5e27\u8fdb\u884c\u5b50\u96c6\u5316\uff0c\u4f46\u51fd\u6570\u7684\u7c7b\u578b\u4e3a\u201c\u95ed\u5305\u201d\uff0c\u4e0d\u80fd\u8fdb\u884c\u5b50\u96c6\u5316\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u672c\u6559\u7a0b\u51c6\u786e\u89e3\u91ca\u4e86\u5982\u4f55\u89e3\u51b3\u6b64\u9519\u8bef\u3002<\/span><\/p>\n<h3><strong>\u5982\u4f55\u91cd\u73b0\u9519\u8bef<\/strong><\/h3>\n<p><span style=\"color: #000000;\">\u5047\u8bbe\u6211\u4eec\u5728 R \u4e2d\u521b\u5efa\u4ee5\u4e0b\u51fd\u6570\uff0c\u5c06\u5411\u91cf\u7684\u6bcf\u4e2a\u503c\u4e58\u4ee5 5\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008080;\">#define function\n<span style=\"color: #000000;\">cool_function &lt;- <span style=\"color: #008000;\">function<\/span> (x) {\n  x &lt;- x*5\n  <span style=\"color: #008000;\">return<\/span> (x)\n}\n<\/span><\/span><\/strong><\/span><\/pre>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u662f\u6211\u4eec\u5728\u5b9e\u8df5\u4e2d\u5982\u4f55\u4f7f\u7528\u6b64\u529f\u80fd\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#define data\n<\/span>data &lt;- c(2, 3, 3, 4, 5, 5, 6, 9)\n\n<span style=\"color: #008080;\">#apply function to data\n<\/span>cool_function(data)\n\n[1] 10 15 15 20 25 25 30 45\n<\/span><\/span><\/strong><\/span><\/pre>\n<p><span style=\"color: #000000;\">\u8bf7\u6ce8\u610f\uff0c\u539f\u59cb\u5411\u91cf\u7684\u6bcf\u4e2a\u503c\u90fd\u5df2\u4e58\u4ee5 5\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u73b0\u5728\u5047\u8bbe\u6211\u4eec\u5c1d\u8bd5\u5bf9\u51fd\u6570\u8fdb\u884c\u5b50\u96c6\u5316\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008080;\">#attempt to get first element of function\n<span style=\"color: #000000;\">cool_function[1]\n\nError in cool_function[1]: object of type 'closure' is not subsettable\n<\/span><\/span><\/strong><\/span><\/pre>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u6536\u5230\u4e00\u4e2a\u9519\u8bef\uff0c\u56e0\u4e3a\u65e0\u6cd5\u5728 R \u4e2d\u5bf9\u201cclosure\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u8fdb\u884c\u5b50\u96c6\u5316\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u8bed\u6cd5\u6765\u68c0\u67e5\u8be5\u51fd\u6570\u662f\u5426\u786e\u5b9e\u662f\u201c\u95ed\u5305\u201d\u7c7b\u578b\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008080;\">#print object type of function\n<span style=\"color: #000000;\">typeof(cool_function)\n\n[1] \u201cclosure\u201d\n<\/span><\/span><\/strong><\/span><\/pre>\n<h3> <span style=\"color: #000000;\"><strong>\u201cClosure\u201d\u5bf9\u8c61\u7684\u66f4\u591a\u793a\u4f8b<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">R \u4e2d\u7684\u6bcf\u4e2a\u51fd\u6570\u90fd\u662f\u201c\u95ed\u5305\u201d\u7c7b\u578b\u3002\u4f8b\u5982\uff0c\u5982\u679c\u6211\u4eec\u5c1d\u8bd5\u5bf9 R \u57fa\u4e2d\u7684\u4efb\u4f55\u51fd\u6570\u8fdb\u884c\u5b50\u96c6\u5316\uff0c\u5c31\u4f1a\u6536\u5230\u6b64\u9519\u8bef\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008080;\">#attempt to subset mean function<\/span>\nmean[1]\n\nError in mean[1]: object of type 'closure' is not subsettable\n\n<span style=\"color: #008080;\">#attempt to subset standard deviation function\n<\/span>sd[1]\n\nError in sd[1]: object of type 'closure' is not subsettable\n\n<span style=\"color: #008080;\">#attempt to subset table function\n<\/span>tabld[1]\n\nError in table[1]: object of type 'closure' is not subsettable\n<\/strong><\/span><\/pre>\n<h3><span style=\"color: #000000;\"><strong>\u5982\u4f55\u89e3\u51b3\u8be5\u9519\u8bef<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u89e3\u51b3\u6b64\u9519\u8bef\u7684\u65b9\u6cd5\u5c31\u662f\u907f\u514d\u5bf9\u51fd\u6570\u5b9a\u4e49\u4e0d\u8db3\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u4f8b\u5982\uff0c\u5982\u679c\u6211\u4eec\u53ea\u60f3\u5c06\u4e4b\u524d\u7684<strong>Cool_function<\/strong>\u5e94\u7528\u4e8e\u5411\u91cf\u7684\u7b2c\u4e00\u4e2a\u5143\u7d20\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u8bed\u6cd5\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><b><span style=\"color: #008080;\">#apply function to just first element in vector<\/span>\ncool_function(data[1])\n\n[1] 10\n<\/b><\/span><\/pre>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u4e0d\u4f1a\u6536\u5230\u9519\u8bef\uff0c\u56e0\u4e3a\u6211\u4eec\u5bf9\u5411\u91cf\u800c\u4e0d\u662f\u51fd\u6570\u8fdb\u884c\u5b50\u96c6\u5316\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u6216\u8005\u6211\u4eec\u53ef\u4ee5\u5c06<strong>Cool_function<\/strong>\u5e94\u7528\u4e8e\u6574\u4e2a\u5411\u91cf\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><b><span style=\"color: #008080;\">#apply function to every element in vector<\/span>\ncool_function(data)\n\n[1] 10 15 15 20 25 25 30 45<\/b><\/span><\/pre>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u6ca1\u6709\u6536\u5230\u9519\u8bef\uff0c\u56e0\u4e3a\u6211\u4eec\u6ca1\u6709\u5c1d\u8bd5\u4ee5\u4efb\u4f55\u65b9\u5f0f\u5bf9\u51fd\u6570\u8fdb\u884c\u5b50\u96c6\u5316\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u5176\u4ed6\u8d44\u6e90<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u89e3\u51b3 R \u4e2d\u7684\u5176\u4ed6\u5e38\u89c1\u9519\u8bef\uff1a<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/cn\/r-\u6761\u4ef6\u7684\u957f\u5ea6\u4e3a-1-\u4ec5\u4f7f\u7528\u7b2c\u4e00\u4e2a\u5143\u7d20\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u4fee\u590d\uff1a\u6761\u4ef6\u957f\u5ea6 &gt; 1 \u5e76\u4e14\u4ec5\u4f7f\u7528\u7b2c\u4e00\u4e2a\u5143\u7d20<\/a><br \/><a href=\"https:\/\/statorials.org\/cn\/r-error-dim-\u5fc5\u987b\u5177\u6709\u6b63\u957f\u5ea6\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u5728 R \u4e2d\u4fee\u590d\uff1adim(X) \u5fc5\u987b\u5177\u6709\u6b63\u957f\u5ea6<\/a><br \/><a href=\"https:\/\/statorials.org\/cn\/r-\u7f3a\u5931\u503c\u6216-true-false-\u5fc5\u8981\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u4fee\u590d R\uff1a\u9700\u8981 true\/false \u7684\u7f3a\u5931\u503c<\/a><br \/><a href=\"https:\/\/statorials.org\/cn\/nas-\u901a\u8fc7\u5f3a\u5236\u5f15\u5165-r\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u4fee\u590d\uff1a\u5f3a\u5236\u5f15\u5165\u7684 NA<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 R \u4e2d\u60a8\u53ef\u80fd\u9047\u5230\u7684\u9519\u8bef\u662f\uff1a object of type &#8216;closure&#8217; is not subsett [&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-2040","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\u5904\u7406\uff1a\u201cclosure\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u53d6\u5b50\u96c6 - Statorials<\/title>\n<meta name=\"description\" content=\"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5904\u7406 R \u4e2d\u7684\u4ee5\u4e0b\u9519\u8bef\uff1a\u201cclosure\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u5b50\u96c6\u5316\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\/r-\u95ed\u5305\u7c7b\u578b\u5bf9\u8c61\u4e0d\u53ef\u8c03\u6574\/\" \/>\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\u5904\u7406\uff1a\u201cclosure\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u53d6\u5b50\u96c6 - Statorials\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5904\u7406 R \u4e2d\u7684\u4ee5\u4e0b\u9519\u8bef\uff1a\u201cclosure\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u5b50\u96c6\u5316\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/cn\/r-\u95ed\u5305\u7c7b\u578b\u5bf9\u8c61\u4e0d\u53ef\u8c03\u6574\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-23T23:41:54+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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/cn\/r-%e9%97%ad%e5%8c%85%e7%b1%bb%e5%9e%8b%e5%af%b9%e8%b1%a1%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4\/\",\"url\":\"https:\/\/statorials.org\/cn\/r-%e9%97%ad%e5%8c%85%e7%b1%bb%e5%9e%8b%e5%af%b9%e8%b1%a1%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4\/\",\"name\":\"\u5982\u4f55\u5728 R \u4e2d\u5904\u7406\uff1a\u201cclosure\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u53d6\u5b50\u96c6 - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/cn\/#website\"},\"datePublished\":\"2023-07-23T23:41:54+00:00\",\"dateModified\":\"2023-07-23T23:41:54+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\"},\"description\":\"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5904\u7406 R \u4e2d\u7684\u4ee5\u4e0b\u9519\u8bef\uff1a\u201cclosure\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u5b50\u96c6\u5316\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/cn\/r-%e9%97%ad%e5%8c%85%e7%b1%bb%e5%9e%8b%e5%af%b9%e8%b1%a1%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/cn\/r-%e9%97%ad%e5%8c%85%e7%b1%bb%e5%9e%8b%e5%af%b9%e8%b1%a1%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/cn\/r-%e9%97%ad%e5%8c%85%e7%b1%bb%e5%9e%8b%e5%af%b9%e8%b1%a1%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728 r \u4e2d\u5904\u7406\uff1a\u201c\u95ed\u5305\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u5b50\u5b9a\u4e49\"}]},{\"@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\u5904\u7406\uff1a\u201cclosure\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u53d6\u5b50\u96c6 - Statorials","description":"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5904\u7406 R \u4e2d\u7684\u4ee5\u4e0b\u9519\u8bef\uff1a\u201cclosure\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u5b50\u96c6\u5316\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\/r-\u95ed\u5305\u7c7b\u578b\u5bf9\u8c61\u4e0d\u53ef\u8c03\u6574\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728 R \u4e2d\u5904\u7406\uff1a\u201cclosure\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u53d6\u5b50\u96c6 - Statorials","og_description":"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5904\u7406 R \u4e2d\u7684\u4ee5\u4e0b\u9519\u8bef\uff1a\u201cclosure\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u5b50\u96c6\u5316\u3002","og_url":"https:\/\/statorials.org\/cn\/r-\u95ed\u5305\u7c7b\u578b\u5bf9\u8c61\u4e0d\u53ef\u8c03\u6574\/","og_site_name":"Statorials","article_published_time":"2023-07-23T23:41:54+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":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/cn\/r-%e9%97%ad%e5%8c%85%e7%b1%bb%e5%9e%8b%e5%af%b9%e8%b1%a1%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4\/","url":"https:\/\/statorials.org\/cn\/r-%e9%97%ad%e5%8c%85%e7%b1%bb%e5%9e%8b%e5%af%b9%e8%b1%a1%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4\/","name":"\u5982\u4f55\u5728 R \u4e2d\u5904\u7406\uff1a\u201cclosure\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u53d6\u5b50\u96c6 - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/cn\/#website"},"datePublished":"2023-07-23T23:41:54+00:00","dateModified":"2023-07-23T23:41:54+00:00","author":{"@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261"},"description":"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5904\u7406 R \u4e2d\u7684\u4ee5\u4e0b\u9519\u8bef\uff1a\u201cclosure\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u5b50\u96c6\u5316\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/cn\/r-%e9%97%ad%e5%8c%85%e7%b1%bb%e5%9e%8b%e5%af%b9%e8%b1%a1%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/cn\/r-%e9%97%ad%e5%8c%85%e7%b1%bb%e5%9e%8b%e5%af%b9%e8%b1%a1%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/cn\/r-%e9%97%ad%e5%8c%85%e7%b1%bb%e5%9e%8b%e5%af%b9%e8%b1%a1%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728 r \u4e2d\u5904\u7406\uff1a\u201c\u95ed\u5305\u201d\u7c7b\u578b\u7684\u5bf9\u8c61\u4e0d\u53ef\u5b50\u5b9a\u4e49"}]},{"@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\/2040","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=2040"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/2040\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/media?parent=2040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/categories?post=2040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/tags?post=2040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}