{"id":3152,"date":"2023-07-18T23:26:33","date_gmt":"2023-07-18T23:26:33","guid":{"rendered":"https:\/\/statorials.org\/cn\/r%e4%b8%ad%e7%9a%84%e9%bb%84%e5%9c%9f%e5%9b%9e%e5%bd%92\/"},"modified":"2023-07-18T23:26:33","modified_gmt":"2023-07-18T23:26:33","slug":"r%e4%b8%ad%e7%9a%84%e9%bb%84%e5%9c%9f%e5%9b%9e%e5%bd%92","status":"publish","type":"post","link":"https:\/\/statorials.org\/cn\/r%e4%b8%ad%e7%9a%84%e9%bb%84%e5%9c%9f%e5%9b%9e%e5%bd%92\/","title":{"rendered":"\u5982\u4f55\u5728 r \u4e2d\u6267\u884c loess \u56de\u5f52\uff08\u9644\u793a\u4f8b\uff09"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><strong>LOESS \u56de\u5f52<\/strong>\uff0c\u6709\u65f6\u79f0\u4e3a\u5c40\u90e8\u56de\u5f52\uff0c\u662f\u4e00\u79cd\u4f7f\u7528\u5c40\u90e8\u8c03\u6574\u5c06\u56de\u5f52\u6a21\u578b\u62df\u5408\u5230\u4e00\u7ec4\u6570\u636e\u7684\u65b9\u6cd5\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u5206\u6b65\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u5728 R \u4e2d\u6267\u884c LOESS \u56de\u5f52\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u7b2c 1 \u6b65\uff1a\u521b\u5efa\u6570\u636e<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u9996\u5148\uff0c\u6211\u4eec\u5728 R \u4e2d\u521b\u5efa\u4ee5\u4e0b\u6570\u636e\u6846\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#view DataFrame\n<\/span>df &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (x=c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14),\n                 y=c(1, 4, 7, 13, 19, 24, 20, 15, 13, 11, 15, 18, 22, 27))\n\n<span style=\"color: #008080;\">#view first six rows of data frame<\/span>\nhead(df)\n\n  xy\n1 1 1\n2 2 4\n3 3 7\n4 4 13\n5 5 19\n6 6 24\n<\/strong><\/pre>\n<h3><span style=\"color: #000000;\"><strong>\u6b65\u9aa4 2\uff1a\u62df\u5408\u591a\u4e2a LOESS \u56de\u5f52\u6a21\u578b<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<strong>loess()<\/strong>\u51fd\u6570\u5c06\u591a\u4e2a LOESS \u56de\u5f52\u6a21\u578b\u62df\u5408\u5230\u8be5\u6570\u636e\u96c6\uff0c\u5e76\u4f7f\u7528\u4e0d\u540c\u7684<strong>\u8de8\u5ea6<\/strong>\u53c2\u6570\u503c\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008080;\">#fit several LOESS regression models to dataset\n<\/span>loess50 &lt;- loess(y ~ x, data=df, span= <span style=\"color: #008000;\">.5<\/span> )\nsmooth50 &lt;- predict(loess50) \n\nloess75 &lt;- loess(y ~ x, data=df, span= <span style=\"color: #008000;\">.75<\/span> )\nsmooth75 &lt;- predict(loess75) \n\nloess90 &lt;- loess(y ~ x, data=df, span= <span style=\"color: #008000;\">.9<\/span> )\nsmooth90 &lt;- predict(loess90) \n\n<span style=\"color: #008080;\">#create scatterplot with each regression line overlaid\n<\/span>plot(df$x, df$y, pch= <span style=\"color: #008000;\">19<\/span> , main=' <span style=\"color: #ff0000;\">Loess Regression Models<\/span> ')\nlines(smooth50, x=df$x, col=' <span style=\"color: #ff0000;\">red<\/span> ')\nlines(smooth75, x=df$x, col=' <span style=\"color: #ff0000;\">purple<\/span> ')\nlines(smooth90, x=df$x, col=' <span style=\"color: #ff0000;\">blue<\/span> ')\nlegend(' <span style=\"color: #ff0000;\">bottomright<\/span> ', legend=c(' <span style=\"color: #ff0000;\">.5<\/span> ', ' <span style=\"color: #ff0000;\">.75<\/span> ', ' <span style=\"color: #ff0000;\">.9<\/span> '),\n        col=c(' <span style=\"color: #ff0000;\">red<\/span> ', ' <span style=\"color: #ff0000;\">purple<\/span> ', ' <span style=\"color: #ff0000;\">blue<\/span> '), pch= <span style=\"color: #008000;\">19<\/span> , title=' <span style=\"color: #ff0000;\">Smoothing Span<\/span> ')\n<\/strong><\/span><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-26784\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/loess1.jpg\" alt=\"R \u4e2d\u7684 Loes \u56de\u5f52\" width=\"452\" height=\"447\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u8bf7\u6ce8\u610f\uff0c\u6211\u4eec\u4f7f\u7528\u7684<strong>\u8de8\u5ea6<\/strong>\u503c\u8d8a\u4f4e\uff0c\u56de\u5f52\u6a21\u578b\u5c31\u8d8a\u4e0d\u201c\u5e73\u6ed1\u201d\uff0c\u6a21\u578b\u5c31\u8d8a\u4f1a\u5c1d\u8bd5\u62df\u5408\u6570\u636e\u70b9\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u7b2c 3 \u6b65\uff1a\u4f7f\u7528 K \u6298\u4ea4\u53c9\u9a8c\u8bc1\u627e\u5230\u6700\u4f73\u6a21\u578b<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u4e3a\u4e86\u627e\u5230\u8981\u4f7f\u7528\u7684\u6700\u4f73<strong>\u8303\u56f4<\/strong>\u503c\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<strong>caret<\/strong>\u5305\u4e2d\u7684\u51fd\u6570\u6267\u884c<a href=\"https:\/\/statorials.org\/cn\/k\u6298\u4ea4\u53c9\u9a8c\u8bc1\/\" target=\"_blank\" rel=\"noopener\">k \u500d\u4ea4\u53c9\u9a8c\u8bc1<\/a>\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008000;\">library<\/span> (caret)\n\n<span style=\"color: #008080;\">#define k-fold cross validation method\n<\/span>ctrl &lt;- trainControl(method = \" <span style=\"color: #ff0000;\">cv<\/span> \", number = <span style=\"color: #008000;\">5<\/span> )\ngrid &lt;- expand. <span style=\"color: #3366ff;\">grid<\/span> (span = seq( <span style=\"color: #008000;\">0.5<\/span> , <span style=\"color: #008000;\">0.9<\/span> , len = <span style=\"color: #008000;\">5<\/span> ), degree = <span style=\"color: #008000;\">1<\/span> )\n\n<span style=\"color: #008080;\">#perform cross-validation using smoothing spans ranging from 0.5 to 0.9\n<\/span>model &lt;- train(y ~ x, data = df, method = \" <span style=\"color: #ff0000;\">gamLoess<\/span> \", tuneGrid=grid, trControl = ctrl)\n\n<span style=\"color: #008080;\">#print results of k-fold cross-validation\n<\/span><span style=\"color: #008000;\">print<\/span> (model)\n\n14 samples\n 1 predictor\n\nNo pre-processing\nResampling: Cross-Validated (5 fold) \nSummary of sample sizes: 12, 11, 11, 11, 11 \nResampling results across tuning parameters:\n\n  span RMSE Rsquared MAE      \n  0.5 10.148315 0.9570137 6.467066\n  0.6 7.854113 0.9350278 5.343473\n  0.7 6.113610 0.8150066 4.769545\n  0.8 17.814105 0.8202561 11.875943\n  0.9 26.705626 0.7384931 17.304833\n\nTuning parameter 'degree' was held constant at a value of 1\nRMSE was used to select the optimal model using the smallest value.\nThe final values used for the model were span = 0.7 and degree = 1.<\/strong><\/span><\/pre>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u53ef\u4ee5\u770b\u5230\uff0c\u4ea7\u751f\u6700\u4f4e<a href=\"https:\/\/statorials.org\/cn\/\u5982\u4f55\u89e3\u91carmse\/\" target=\"_blank\" rel=\"noopener\">\u5747\u65b9\u6839\u8bef\u5dee<\/a>(RMSE) \u503c\u7684<strong>\u8de8\u5ea6<\/strong>\u503c\u4e3a<strong>0.7<\/strong> \u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u56e0\u6b64\uff0c\u5bf9\u4e8e\u6700\u7ec8\u7684 LOESS \u56de\u5f52\u6a21\u578b\uff0c\u6211\u4eec\u4f1a\u9009\u62e9\u5728<strong>loess()<\/strong>\u51fd\u6570\u4e2d\u4f7f\u7528\u503c<strong>0.7<\/strong>\u4f5c\u4e3a<strong>\u8de8\u5ea6<\/strong>\u53c2\u6570\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\u63d0\u4f9b\u6709\u5173 R \u56de\u5f52\u6a21\u578b\u7684\u5176\u4ed6\u4fe1\u606f\uff1a<\/span><\/p>\n<p><a href=\"https:\/\/statorials.org\/cn\/r-\u4e2d\u7684\u7b80\u5355\u7ebf\u6027\u56de\u5f52\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u5728 R \u4e2d\u6267\u884c\u7b80\u5355\u7ebf\u6027\u56de\u5f52<\/a><br \/><a href=\"https:\/\/statorials.org\/cn\/\u591a\u5143\u7ebf\u6027\u56de\u5f52\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u5728 R \u4e2d\u6267\u884c\u591a\u5143\u7ebf\u6027\u56de\u5f52<\/a><br \/>\u5982\u4f55\u5728 R \u4e2d\u6267\u884c\u903b\u8f91\u56de\u5f52<br \/><a href=\"https:\/\/statorials.org\/cn\/r\u4e2d\u7684\u5206\u4f4d\u6570\u56de\u5f52\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u5728 R \u4e2d\u6267\u884c\u5206\u4f4d\u6570\u56de\u5f52<\/a><br \/> <a href=\"https:\/\/statorials.org\/cn\/r-\u4e2d\u7684\u52a0\u6743\u6700\u5c0f\u4e8c\u4e58\u6cd5\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u5728 R \u4e2d\u6267\u884c\u52a0\u6743\u56de\u5f52<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>LOESS \u56de\u5f52\uff0c\u6709\u65f6\u79f0\u4e3a\u5c40\u90e8\u56de\u5f52\uff0c\u662f\u4e00\u79cd\u4f7f\u7528\u5c40\u90e8\u8c03\u6574\u5c06\u56de\u5f52\u6a21\u578b\u62df\u5408\u5230\u4e00\u7ec4\u6570\u636e\u7684\u65b9\u6cd5\u3002 \u4ee5\u4e0b\u5206\u6b65\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55 [&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-3152","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\u6267\u884c LOESS \u56de\u5f52\uff08\u9644\u793a\u4f8b\uff09-Statorials<\/title>\n<meta name=\"description\" content=\"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 R \u4e2d\u6267\u884c loess \u56de\u5f52\uff0c\u5305\u62ec\u4e00\u4e2a\u5b8c\u6574\u7684\u793a\u4f8b\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\u4e2d\u7684\u9ec4\u571f\u56de\u5f52\/\" \/>\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\u6267\u884c LOESS \u56de\u5f52\uff08\u9644\u793a\u4f8b\uff09-Statorials\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 R \u4e2d\u6267\u884c loess \u56de\u5f52\uff0c\u5305\u62ec\u4e00\u4e2a\u5b8c\u6574\u7684\u793a\u4f8b\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/cn\/r\u4e2d\u7684\u9ec4\u571f\u56de\u5f52\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-18T23:26:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/loess1.jpg\" \/>\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%e4%b8%ad%e7%9a%84%e9%bb%84%e5%9c%9f%e5%9b%9e%e5%bd%92\/\",\"url\":\"https:\/\/statorials.org\/cn\/r%e4%b8%ad%e7%9a%84%e9%bb%84%e5%9c%9f%e5%9b%9e%e5%bd%92\/\",\"name\":\"\u5982\u4f55\u5728 R \u4e2d\u6267\u884c LOESS \u56de\u5f52\uff08\u9644\u793a\u4f8b\uff09-Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/cn\/#website\"},\"datePublished\":\"2023-07-18T23:26:33+00:00\",\"dateModified\":\"2023-07-18T23:26:33+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\"},\"description\":\"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 R \u4e2d\u6267\u884c loess \u56de\u5f52\uff0c\u5305\u62ec\u4e00\u4e2a\u5b8c\u6574\u7684\u793a\u4f8b\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/cn\/r%e4%b8%ad%e7%9a%84%e9%bb%84%e5%9c%9f%e5%9b%9e%e5%bd%92\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/cn\/r%e4%b8%ad%e7%9a%84%e9%bb%84%e5%9c%9f%e5%9b%9e%e5%bd%92\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/cn\/r%e4%b8%ad%e7%9a%84%e9%bb%84%e5%9c%9f%e5%9b%9e%e5%bd%92\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728 r \u4e2d\u6267\u884c loess \u56de\u5f52\uff08\u9644\u793a\u4f8b\uff09\"}]},{\"@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\u6267\u884c LOESS \u56de\u5f52\uff08\u9644\u793a\u4f8b\uff09-Statorials","description":"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 R \u4e2d\u6267\u884c loess \u56de\u5f52\uff0c\u5305\u62ec\u4e00\u4e2a\u5b8c\u6574\u7684\u793a\u4f8b\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\u4e2d\u7684\u9ec4\u571f\u56de\u5f52\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728 R \u4e2d\u6267\u884c LOESS \u56de\u5f52\uff08\u9644\u793a\u4f8b\uff09-Statorials","og_description":"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 R \u4e2d\u6267\u884c loess \u56de\u5f52\uff0c\u5305\u62ec\u4e00\u4e2a\u5b8c\u6574\u7684\u793a\u4f8b\u3002","og_url":"https:\/\/statorials.org\/cn\/r\u4e2d\u7684\u9ec4\u571f\u56de\u5f52\/","og_site_name":"Statorials","article_published_time":"2023-07-18T23:26:33+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/loess1.jpg"}],"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%e4%b8%ad%e7%9a%84%e9%bb%84%e5%9c%9f%e5%9b%9e%e5%bd%92\/","url":"https:\/\/statorials.org\/cn\/r%e4%b8%ad%e7%9a%84%e9%bb%84%e5%9c%9f%e5%9b%9e%e5%bd%92\/","name":"\u5982\u4f55\u5728 R \u4e2d\u6267\u884c LOESS \u56de\u5f52\uff08\u9644\u793a\u4f8b\uff09-Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/cn\/#website"},"datePublished":"2023-07-18T23:26:33+00:00","dateModified":"2023-07-18T23:26:33+00:00","author":{"@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261"},"description":"\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 R \u4e2d\u6267\u884c loess \u56de\u5f52\uff0c\u5305\u62ec\u4e00\u4e2a\u5b8c\u6574\u7684\u793a\u4f8b\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/cn\/r%e4%b8%ad%e7%9a%84%e9%bb%84%e5%9c%9f%e5%9b%9e%e5%bd%92\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/cn\/r%e4%b8%ad%e7%9a%84%e9%bb%84%e5%9c%9f%e5%9b%9e%e5%bd%92\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/cn\/r%e4%b8%ad%e7%9a%84%e9%bb%84%e5%9c%9f%e5%9b%9e%e5%bd%92\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728 r \u4e2d\u6267\u884c loess \u56de\u5f52\uff08\u9644\u793a\u4f8b\uff09"}]},{"@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\/3152","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=3152"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/3152\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/media?parent=3152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/categories?post=3152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/tags?post=3152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}