{"id":56795,"date":"2024-06-16T18:22:13","date_gmt":"2024-06-16T10:22:13","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=56795"},"modified":"2024-06-16T18:22:13","modified_gmt":"2024-06-16T10:22:13","slug":"%e4%b8%80%e4%b8%aa%e7%a4%ba%e4%be%8b%e6%90%9e%e6%87%82r%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90%e7%9a%84%e7%96%91%e7%82%b9","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=56795","title":{"rendered":"\u4e00\u4e2a\u793a\u4f8b\u641e\u61c2R\u6570\u636e\u5206\u6790\u7684\u7591\u70b9"},"content":{"rendered":"<p><html><br \/>\n<head><br \/>\n<title><\/title><br \/>\n<meta charset=\"utf-8\"><br \/>\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover\"><\/p>\n<style>\n*{margin:0;padding:0}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.6}img{z-index:999;position:relative;max-width:100%;margin:10px 0;}body{letter-spacing:.034em}h1,h2,h3,h4,h5,h6{font-weight:400;font-size:16px}a{color:#576b95;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}td,th{word-wrap:break-word;padding:5px 10px;border:1px solid #DDD;}table{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}.rich_media_area_primary{padding:20px 16px 12px;background-color:#fafafa}@media (max-width:375px){.rich_media_area_primary{padding:20px 60px 15px 60px}.rich_media_area_extra{padding:0 60px 21px 60px}}@media (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner,body{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media{padding:20px;overflow:hidden;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}@media screen and (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media_content{overflow:hidden;color:#333;font-size:17px;word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;text-align:justify;position:relative;z-index:0}.rich_media_content *{max-width:100%!important;box-sizing:border-box!important;-webkit-box-sizing:border-box!important;word-wrap:break-word!important}.rich_media_content p{clear:both;min-height:1em}.rich_media_content em{font-style:italic}.rich_media_content fieldset{min-width:0}.rich_media_content .list-paddingleft-1,.rich_media_content .list-paddingleft-2,.rich_media_content .list-paddingleft-3{padding-left:2.2em}.rich_media_content .list-paddingleft-1 .list-paddingleft-2,.rich_media_content .list-paddingleft-2 .list-paddingleft-2,.rich_media_content .list-paddingleft-3 .list-paddingleft-2{padding-left:30px}.rich_media_content .list-paddingleft-1{padding-left:1.2em}.rich_media_content .list-paddingleft-3{padding-left:3.2em}.rich_media_content .code-snippet,.rich_media_content .code-snippet__fix{max-width:1000%!important}.rich_media_content .code-snippet *,.rich_media_content .code-snippet__fix *{max-width:1000%!important}.rich_media_title{font-size:22px;line-height:1.4;margin-bottom:13px;padding-bottom:13px;border-bottom:1px solid #e7e7eb;}@supports(-webkit-overflow-scrolling:touch){.rich_media_title{font-weight:700}}.rich_media_meta{display:inline-block;vertical-align:middle;padding:0 0 10px 0;font-size:15px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.rich_media_meta.icon_appmsg_tag{margin-right:0px}.rich_media_meta.meta_tag_text{margin-right:0}.rich_media_meta_list em{font-style:normal}.rich_media_meta_text{color:#a5a5a5;}p{margin:0;}.msgBox{margin-top:20px;padding-top:20px;padding-left:50px;overflow:hidden;border-top:2px dashed #09a2ff;}.msg{padding-top:7px;clear:both;}.msgBody{float:right;width:100%;margin-left:55px;padding-bottom:15px;border-bottom:1px dashed #e0e0e0;}.userHeadImg{float:left;margin-left:-50px;}.userHeadImg img{width:40px;height:40px;margin-right:10px;border-radius:3px;}.userName{color:#888888;line-height:24px;font-size:14px;margin:5px 0 5px 0;height:24px;}.replyBody,.autherBody{color:#565656;font-size:15px;}.replyIcon{border-left:4px solid #33ab01;margin-right:5px;}.ad{text-decoration:none;color:#d6d4d4;font-size:12px;}.msgBodyReply{padding-top:5px;}.userName span{float:right;color:#afafaf;font-size:14px;}code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;}.code-snippet__fix{font-size:14px;margin:10px 0;display:block;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:-webkit-box;display:-webkit-flex;display:flex;padding-left:25px;line-height:26px}.code-snippet__fix code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;font-family:Consolas,\"Liberation Mono\",Menlo,Courier,monospace}.code-snippet__comment,.code-snippet__quote{color:#afafaf;font-style:italic}.code-snippet__keyword,.code-snippet__selector-tag,.code-snippet__subst{color:#ca7d37}.code-snippet__number,.code-snippet__literal,.code-snippet__variable,.code-snippet__template-variable,.code-snippet__tag .code-snippet__attr{color:#0e9ce5}.code-snippet__string,.code-snippet__doctag{color:#d14}.code-snippet__title,.code-snippet__section,.code-snippet__selector-id{color:#d14}.code-snippet__subst{font-weight:normal}.code-snippet__type,.code-snippet__class .code-snippet__title{color:#0e9ce5}.code-snippet__tag,.code-snippet__name,.code-snippet__attribute{color:#0e9ce5;font-weight:normal}.code-snippet__regexp,.code-snippet__link{color:#ca7d37}.code-snippet__symbol,.code-snippet__bullet{color:#d14}.code-snippet__built_in,.code-snippet__builtin-name{color:#ca7d37}.code-snippet__meta{color:#afafaf}.code-snippet__deletion{background:#fdd}.code-snippet__addition{background:#dfd}.code-snippet__emphasis{font-style:italic}.code-snippet__strong{font-weight:bold}.account_avatar{width:40px;height:40px;padding:0;}.account_info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;padding:20px 0;align-items:center}.flex_bd{padding-left:14px;}.account_nickname{display:inline-block;vertical-align:middle;line-height:1.2;color:#576b95;font-size:14px}.account_desc{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;color:rgba(0,0,0,0.3);font-size:14px;line-height:1.2;padding-top:.4em}.msg_source_url{text-align:left;word-break:break-all;margin-top:20px;}.msg_source_url a{padding-right:10px;}.msg_source_url .url_text{color:#a8a8a8;}.video-desc{font-size:14px;margin-top:15px;color:#6c6c6c;}.msg_source_url{text-align:left;}.original_primary_card_tips{color:rgba(0,0,0,0.3);line-height:1.4;font-size:15px;}.weui-flex__item{margin-bottom:20px;padding:20px 16px;margin-top:16px;line-height:1.4;align-items:center;background-color:#f7f7f7;border-radius:8px;position:relative;}.original_primary_desc{color:rgba(0,0,0,0.5);font-size:14px;padding-top:4px;width:auto;overflow:hidden;text-overflow:ellipsis;}.msgBodyReplyList{border-top:1px solid #e1e1e1;margin-top:10px;}.msgBodyReplyListTop{border-top:0;}.reply_like_num{float:right;font-size:14px;color:#c7c7c7;}.msgData{margin-top:20px;color:#626262;}.msgData span{font-size:14px;padding-right:15px;}.msgData .likes{float:right;padding-right:0;}.js_text_content p{font-size:18px;}.rich_media_meta_link{font-size:15px;}blockquote {padding-left: 10px;border-left: 3px solid #dbdbdb;color: rgba(0,0,0,0.5);font-size: 15px;padding-top: 4px;margin: 1em 0;}.video_iframe{width:500px;height:400px;}.blockquote_info{color:#b5b5b5;margin-top:10px;}#copyright_logo{color:#bdbdbd;}.rich_media_meta_list{margin-bottom:10px;}.reprint{background:#efefef;border-radius:5px;padding:8px;color:#1f1f1f;}.reprint a{word-break:break-all;}.topic{color:#8e8e8e;background:#f7f7f7;border-radius:5px;padding:10px 8px;}.topic a{padding-right:5px;}.topic p{margin-bottom:5px;}\n<\/style>\n<link href=\"https:\/\/www.juyifx.cn\/config\/css\/wxArticle.css\" rel=\"stylesheet\"\/>\n<\/head><script>\nvar data={\"mp\":\"\u751f\u4fe1\u679c\",\"title\":\"\u4e00\u4e2a\u793a\u4f8b\u641e\u61c2R\u6570\u636e\u5206\u6790\u7684\u7591\u70b9\",\"time\":\"2023-07-02 19:00:38\",\"timeStamp\":\"1688295638\"};\n<\/script><br \/>\n<body><\/p>\n<div class=\"rich_media\">\n<h1 class=\"rich_media_title\" id=\"activity-name\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&#038;mid=2247489061&#038;idx=2&#038;sn=4fb6cabf0b19a6754fbd9602694db495&#038;chksm=cf7c86e0f80b0ff6d05f3d2f716976b46ea3120d27a851fa9315df5434ae91343b6a9d00c491#rd\" target=\"_blank\" rel=\"noopener\">\u4e00\u4e2a\u793a\u4f8b\u641e\u61c2R\u6570\u636e\u5206\u6790\u7684\u7591\u70b9<\/a><\/h1>\n<div id=\"meta_content\" class=\"rich_media_meta_list\"><span class=\"rich_media_meta rich_media_meta_text\">\u5c0f\u5e08\u59b9&nbsp;&nbsp;<\/span><span class=\"rich_media_meta rich_media_meta_nickname\" id=\"profileBt\"><a href=\"javascript:void(0);\" class=\"wx_tap_link js_wx_tap_highlight weui-wa-hotarea\" id=\"js_name\">\u751f\u4fe1\u679c&nbsp;&nbsp;<\/a><\/span><em id=\"publish_time\" class=\"rich_media_meta rich_media_meta_text\">2023-07-02 19:00:38<\/em><\/div>\n<p><content><\/p>\n<div class=\"reprint\">\n<p>\u8f6c\u81ea\u516c\u4f17\u53f7\uff1aR\u8bed\u8a00\u5b66\u5f92<br \/><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MDk3Mzg4OA==&#038;mid=2247484292&#038;idx=1&#038;sn=f6f73d29c101dee06bed2090589ded1b\" target=\"_blank\" title=\"\u9605\u8bfb\u539f\u6587\" rel=\"noopener\">http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MDk3Mzg4OA==&#038;mid=2247484292&#038;idx=1&#038;sn=f6f73d29c101dee06bed2090589ded1b<\/a><\/p>\n<\/div>\n<section style=\"font-size: 16px;letter-spacing: normal;white-space: normal;caret-color: rgb(0, 0, 0);color: rgb(0, 0, 0);\">\n<section powered-by=\"xiumi.us\" style=\"margin-top: 20px;text-align: left;justify-content: flex-start;transform: translate3d(-13px, 0px, 0px);display: flex;flex-flow: row nowrap;\">\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section powered-by=\"xiumi.us\" style=\"margin-top: -18px;\">\n<section style=\"color: rgb(249, 172, 172);font-size: 53px;text-align: justify;\">\n<p style=\"text-align: right;\">\u201c<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;margin-left: 10px;\">\n<section powered-by=\"xiumi.us\" style=\"font-size: 18px;color: rgb(249, 172, 172);text-align: justify;\">\n<p><strong>\u70b9\u51fb\u84dd\u5b57 \u5173\u6ce8\u6211\u4eec<\/strong><\/p>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: 115.34375px;align-self: center;margin-left: 10px;flex: 0 0 auto;height: auto;\">\n<section powered-by=\"xiumi.us\" style=\"margin-top: 0.5em;margin-bottom: 0.5em;\">\n<section style=\"background-color: rgb(249, 172, 172);height: 1px;\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<\/section>\n<p powered-by=\"xiumi.us\"><br  \/><\/p>\n<section powered-by=\"xiumi.us\">\n<p>\u6570\u636e\u6807\u51c6\u5316\u662f\u4ec0\u4e48\uff0c\u600e\u4e48\u7528\uff1f\u5206\u4f4d\u6570\u5728\u5b9e\u9645\u95ee\u9898\u4e2d\u600e\u4e48\u5e94\u7528\u7684\uff1f\u600e\u4e48\u8bc4\u4ef7\u591a\u5143\u7684\u6570\u636e\uff1f\u4e0b\u9762\u8fd9\u4e2a\u6848\u4f8b\u5728R\u73af\u5883\u4e2d\u53ef\u4ee5\u76f4\u63a5\u6a2a\u626b\u6570\u636e\u5206\u6790\u7684\u76f2\u70b9\u3002<\/p>\n<p><br  \/><\/p>\n<p>\u95ee\u9898\uff1a\u4e00\u7ec4\u5b66\u751f\u53c2\u52a0\u4e86\u6570\u5b66\u3001\u79d1\u5b66\u548c\u82f1\u8bed\u8003\u8bd5\u3002\u4e3a\u4e86\u7ed9\u5b66\u751f\u786e\u5b9a\u4e00\u4e2a\u5355\u4e00\u7684\u8861\u91cf\u6307\u6807\uff0c\u9700\u8981\u5c06\u8fd9\u4e9b\u79d1\u76ee\u7684\u6210\u7ee9\u7ec4\u5408\u8d77\u6765\u3002\u53e6\u5916\u8fd8\u60f3\u5c06\u524d20%\u7684\u5b66\u751f\u8bc4\u5b9a\u4e3aA\uff0c\u63a5\u4e0b\u6765\u768420%\u8bc4\u5b9a\u4e3aB\uff0c\u4f9d\u6b21\u7c7b\u63a8\u3002\u6700\u540e\uff0c\u5e0c\u671b\u6309\u7167\u5b57\u6bcd\u987a\u5e8f\u5bf9\u5b66\u751f\u6392\u5e8f\u3002<\/p>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" data-ratio=\"0.6259259259259259\" data-type=\"png\" data-w=\"1080\" style=\"vertical-align: middle;width: 0px;height: auto !important;\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/1_icayLicZlAjhblgfHibBkOUWTAlgEw.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXjjmsEC5aXz0RE4be2ib1fJWHibrh1iaXPD911RFBIpOWEx85HsibicayLicZlAjhblgfHibBkOUWTAlgEw\/640?wx_fmt=png'\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p><br  \/><\/p>\n<p>\u5206\u6790\u95ee\u9898\uff1a\u770b\u5230\u4ee5\u4e0a\u7684\u6570\u636e\uff0c\u6211\u4eec\u53ef\u4ee5\u660e\u663e\u7684\u53d1\u73b0\u5f88\u591a\u969c\u788d\u3002<\/p>\n<p><br  \/><\/p>\n<p>\u9996\u5148\uff0c\u4e09\u79d1\u8003\u8bd5\u7684\u6210\u7ee9\u662f\u6ca1\u529e\u6cd5\u6bd4\u8f83\u7684\uff0c\u7531\u4e8e\u4ed6\u4eec\u7684\u5747\u503c\u548c\u6807\u51c6\u5dee\u76f8\u5dee\u5f88\u8fdc\uff0c\u6240\u4ee5\u5bf9\u4e8e\u4ed6\u4eec\u6c42\u53d6\u5e73\u5747\u503c\u662f\u6ca1\u6709\u610f\u4e49\u7684\uff0c\u56e0\u6b64\u5728\u7ec4\u5408\u8fd9\u4e9b\u8003\u8bd5\u6210\u7ee9\u4e4b\u524d\uff0c\u5fc5\u987b\u53d8\u6362\u6210\u53ef\u6bd4\u8f83\u7684\u5355\u5143\u3002<\/p>\n<p>\u5176\u6b21\uff0c\u4e3a\u4e86\u8bc4\u5b9a\u7b49\u7ea7\uff0c\u9700\u8981\u4e00\u79cd\u65b9\u6cd5\u6765\u786e\u5b9a\u786e\u5b9a\u67d0\u5b66\u751f\u5f97\u5206\u4e0a\u767e\u5206\u6bd4\u6392\u540d\u3002<\/p>\n<p><br  \/><\/p>\n<p>\u518d\u6b21\uff0c\u8868\u793a\u59d3\u540d\u7684\u5b57\u6bb5\u53ea\u6709\u4e00\u4e2a\uff0c\u8ba9\u6392\u5e8f\u4efb\u52a1\u53d8\u590d\u6742\u3002<\/p>\n<p><br  \/><\/p>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: -26px;transform: translate3d(26px, 0px, 0px);\">\n<section style=\"display: inline-block;width: auto;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgb(249, 172, 172);min-width: 5%;height: auto;padding: 9px;\">\n<section powered-by=\"xiumi.us\" style=\"text-align: justify;color: rgb(255, 255, 255);\">\n<p><strong>01<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-bottom: 10px;\">\n<section style=\"display: inline-block;width: 769px;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgba(249, 172, 172, 0.15);padding: 13px;\">\n<section powered-by=\"xiumi.us\" style=\"transform: translate3d(64px, 0px, 0px);\">\n<section style=\"text-align: justify;font-size: 17px;\">\n<p><strong>\u6784\u5efa\u597d\u6570\u636e\u96c6<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">options(digits=<span class=\"code-snippet__number\">2<\/span>)<span class=\"code-snippet__comment\">#\u9650\u5b9a\u4e86\u8f93\u51fa\u5c0f\u6570\u70b9\u540e\u6570\u5b57\u7684\u4f4d\u6570\uff0c\u5e76\u4e14\u8ba9\u8f93\u51fa\u66f4\u5bb9\u6613\u8bfb<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">Student &lt;- <span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__string\">\"John Davis\"<\/span>, <span class=\"code-snippet__string\">\"Angela Williams\"<\/span>, <span class=\"code-snippet__string\">\"Bullwinkle Moose\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">\"David Jones\"<\/span>, <span class=\"code-snippet__string\">\"Janice Markhammer\"<\/span>, <span class=\"code-snippet__string\">\"Cheryl Cushing\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">\"Reuven Ytzrhak\"<\/span>, <span class=\"code-snippet__string\">\"Greg Knox\"<\/span>, <span class=\"code-snippet__string\">\"Joel England\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">\"Mary Rayburn\"<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">Math &lt;- <span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__number\">502<\/span>, <span class=\"code-snippet__number\">600<\/span>, <span class=\"code-snippet__number\">412<\/span>, <span class=\"code-snippet__number\">358<\/span>, <span class=\"code-snippet__number\">495<\/span>, <span class=\"code-snippet__number\">512<\/span>, <span class=\"code-snippet__number\">410<\/span>, <span class=\"code-snippet__number\">625<\/span>, <span class=\"code-snippet__number\">573<\/span>, <span class=\"code-snippet__number\">522<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">Science &lt;- <span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__number\">95<\/span>, <span class=\"code-snippet__number\">99<\/span>, <span class=\"code-snippet__number\">80<\/span>, <span class=\"code-snippet__number\">82<\/span>, <span class=\"code-snippet__number\">75<\/span>, <span class=\"code-snippet__number\">85<\/span>, <span class=\"code-snippet__number\">80<\/span>, <span class=\"code-snippet__number\">95<\/span>, <span class=\"code-snippet__number\">89<\/span>, <span class=\"code-snippet__number\">86<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">English &lt;- <span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__number\">25<\/span>, <span class=\"code-snippet__number\">22<\/span>, <span class=\"code-snippet__number\">18<\/span>, <span class=\"code-snippet__number\">15<\/span>, <span class=\"code-snippet__number\">20<\/span>, <span class=\"code-snippet__number\">28<\/span>, <span class=\"code-snippet__number\">15<\/span>, <span class=\"code-snippet__number\">30<\/span>, <span class=\"code-snippet__number\">27<\/span>, <span class=\"code-snippet__number\">18<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">roster &lt;- data.frame(Student, Math, Science, English, stringsAsFactors=<span class=\"code-snippet__literal\">FALSE<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" data-ratio=\"0.4291497975708502\" data-type=\"png\" data-w=\"988\" style=\"vertical-align: middle;width: 0px;height: auto !important;\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/2_32LcHa9FkOlk7oGLvhuZc67UMdXbbA.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXjjmsEC5aXz0RE4be2ib1fJaZV5sKQezGwWJHPYTtLMINh832LcHa9FkOlk7oGLvhuZc67UMdXbbA\/640?wx_fmt=png'\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: -26px;transform: translate3d(26px, 0px, 0px);\">\n<section style=\"display: inline-block;width: auto;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgb(249, 172, 172);min-width: 5%;height: auto;padding: 9px;\">\n<section powered-by=\"xiumi.us\" style=\"text-align: justify;color: rgb(255, 255, 255);\">\n<p><strong>02<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-bottom: 10px;\">\n<section style=\"display: inline-block;width: 769px;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgba(249, 172, 172, 0.15);padding: 13px;\">\n<section powered-by=\"xiumi.us\" style=\"transform: translate3d(64px, 0px, 0px);\">\n<section style=\"text-align: justify;font-size: 17px;\">\n<p><strong>\u8ba1\u7b97\u7efc\u5408\u5f97\u5206<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">z &lt;- scale(roster[,<span class=\"code-snippet__number\">2<\/span>:<span class=\"code-snippet__number\">4<\/span>])<span class=\"code-snippet__comment\">#\u7531\u4e8e\u6570\u5b66\u3001\u79d1\u5b66\u548c\u82f1\u8bed\u7684\u5206\u503c\u4e0d\u540c\uff08\u5747\u503c\u548c\u6807\u51c6\u5dee\u76f8\u5dee\u751a\u8fdc\uff09\uff0c\u5728\u7ec4\u5408\u4e4b\u524d\u9700\u8981\u5148\u8ba9\u6570\u636e\u53d8\u5f97\u53ef\u4ee5\u6bd4\u8f83<\/span><\/span><\/code><\/pre>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" data-ratio=\"0.5218446601941747\" data-type=\"png\" data-w=\"824\" style=\"vertical-align: middle;width: 0px;height: auto !important;\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/3_HJYA7cjDZLODuG6QqbNsLQzeniaGmg.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXjjmsEC5aXz0RE4be2ib1fJYicVZCliaJd2DwWXMsIs8DaAn79HJYA7cjDZLODuG6QqbNsLQzeniaGmg\/640?wx_fmt=png'\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: -26px;transform: translate3d(26px, 0px, 0px);\">\n<section style=\"display: inline-block;width: auto;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgb(249, 172, 172);min-width: 5%;height: auto;padding: 9px;\">\n<section powered-by=\"xiumi.us\" style=\"text-align: justify;color: rgb(255, 255, 255);\">\n<p><strong>03<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-bottom: 10px;\">\n<section style=\"display: inline-block;width: 769px;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgba(249, 172, 172, 0.15);padding: 13px;\">\n<section powered-by=\"xiumi.us\" style=\"transform: translate3d(64px, 0px, 0px);\">\n<section style=\"text-align: justify;font-size: 17px;\">\n<p><strong>\u53ef\u4ee5\u901a\u8fc7menan()\u548ccbind()\u6765\u5c06\u5176\u63d2\u5165<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">score &lt;- apply(z,<span class=\"code-snippet__number\">1<\/span>,mean)<\/span><\/code><code><span class=\"code-snippet_outer\">roster &lt;- cbind(roster, score)<\/span><\/code><\/pre>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" data-ratio=\"0.37222222222222223\" data-type=\"png\" data-w=\"1080\" style=\"vertical-align: middle;width: 0px;height: auto !important;\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/4_P9BibHricbZrriaG9PiawCcp5vdXkw.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXjjmsEC5aXz0RE4be2ib1fJl7zzkeb9kFCleDmguxdN7Skq7ibNRP9BibHricbZrriaG9PiawCcp5vdXkw\/640?wx_fmt=png'\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: -26px;transform: translate3d(26px, 0px, 0px);\">\n<section style=\"display: inline-block;width: auto;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgb(249, 172, 172);min-width: 5%;height: auto;padding: 9px;\">\n<section powered-by=\"xiumi.us\" style=\"text-align: justify;color: rgb(255, 255, 255);\">\n<p><strong>04<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-bottom: 10px;\">\n<section style=\"display: inline-block;width: 769px;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgba(249, 172, 172, 0.15);padding: 13px;\">\n<section powered-by=\"xiumi.us\" style=\"transform: translate3d(64px, 0px, 0px);\">\n<section style=\"text-align: justify;font-size: 17px;\">\n<p style=\"text-align: left;\"><strong>\u7528\u5206\u4f4d\u70b9\u6765\u8bc4\u5b9a\u7b49\u7ea7<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">y &lt;- quantile(score,<span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__number\">.8<\/span>,<span class=\"code-snippet__number\">.6<\/span>,<span class=\"code-snippet__number\">.4<\/span>,<span class=\"code-snippet__number\">.2<\/span>))<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u7b2c\u4e94\u6b65\uff0c\u901a\u8fc7\u903b\u8f91\u8fd0\u7b97\u7b26\uff0c\u6839\u636e\u5b66\u751f\u7684\u767e\u5206\u4f4d\u6570\u6765\u91cd\u65b0\u7f16\u7801\u4e3a\u4e00\u4e2a\u65b0\u7684\u7c7b\u522b\u6210\u7ee9\u53d8\u91cf\u3002\u4e0b\u9762\u5728\u6570\u636e\u6846\u4e2d\u521b\u5efa\u4e86\u53d8\u91cfgrade<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">roster$grade[score &gt;= y[<span class=\"code-snippet__number\">1<\/span>]] &lt;- <span class=\"code-snippet__string\">\"A\"<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">roster$grade[score &lt; y[<span class=\"code-snippet__number\">1<\/span>] &amp; score &gt;= y[<span class=\"code-snippet__number\">2<\/span>]] &lt;- <span class=\"code-snippet__string\">\"B\"<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">roster$grade[score &lt; y[<span class=\"code-snippet__number\">2<\/span>] &amp; score &gt;= y[<span class=\"code-snippet__number\">3<\/span>]] &lt;- <span class=\"code-snippet__string\">\"C\"<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">roster$grade[score &lt; y[<span class=\"code-snippet__number\">3<\/span>] &amp; score &gt;= y[<span class=\"code-snippet__number\">4<\/span>]] &lt;- <span class=\"code-snippet__string\">\"D\"<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">roster$grade[score &lt; y[<span class=\"code-snippet__number\">4<\/span>] ] &lt;- <span class=\"code-snippet__string\">\"F\"<\/span><\/span><\/code><\/pre>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" data-ratio=\"0.3648148148148148\" data-type=\"png\" data-w=\"1080\" style=\"vertical-align: middle;width: 0px;height: auto !important;\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/5_bnGs1p0RqcO9rzPhz7ibVV7FyGYa7g.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXjjmsEC5aXz0RE4be2ib1fJ1ljwRSyZibichQ4Oq8faHwyLZtdbnGs1p0RqcO9rzPhz7ibVV7FyGYa7g\/640?wx_fmt=png'\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: -26px;transform: translate3d(26px, 0px, 0px);\">\n<section style=\"display: inline-block;width: auto;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgb(249, 172, 172);min-width: 5%;height: auto;padding: 9px;\">\n<section powered-by=\"xiumi.us\" style=\"text-align: justify;color: rgb(255, 255, 255);\">\n<p><strong>06<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-bottom: 10px;\">\n<section style=\"display: inline-block;width: 769px;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgba(249, 172, 172, 0.15);padding: 13px;\">\n<section powered-by=\"xiumi.us\" style=\"transform: translate3d(64px, 0px, 0px);\">\n<section style=\"text-align: justify;font-size: 17px;\">\n<p><strong>\u7528strsplit()\u51fd\u6570\u4ee5\u7a7a\u683c\u4e3a\u754c\u628a\u5b66\u751f\u59d3\u540d\u5206\u9694\u5f00<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">name &lt;- strsplit(roster$Student,split = <span class=\"code-snippet__string\">\" \"<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" data-ratio=\"0.654320987654321\" data-type=\"png\" data-w=\"648\" style=\"vertical-align: middle;width: 0px;height: auto !important;\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/6_CRaeLOOoqxp2fk59U6YWVqYhJOOZOg.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXjjmsEC5aXz0RE4be2ib1fJhCorS6piaxAIs1ddpYpqIVCSpCRaeLOOoqxp2fk59U6YWVqYhJOOZOg\/640?wx_fmt=png'\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: -26px;transform: translate3d(26px, 0px, 0px);\">\n<section style=\"display: inline-block;width: auto;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgb(249, 172, 172);min-width: 5%;height: auto;padding: 9px;\">\n<section powered-by=\"xiumi.us\" style=\"text-align: justify;color: rgb(255, 255, 255);\">\n<p><strong>07<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-bottom: 10px;\">\n<section style=\"display: inline-block;width: 769px;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgba(249, 172, 172, 0.15);padding: 13px;\">\n<section powered-by=\"xiumi.us\" style=\"transform: translate3d(64px, 0px, 0px);\">\n<section style=\"text-align: justify;font-size: 17px;\">\n<p style=\"text-align: left;\"><strong>\u7b2c\u4e03\u6b65<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p powered-by=\"xiumi.us\">\u4f60\u53ef\u4ee5\u4f7f\u7528sapply()\u63d0\u53d6\u5217\u8868\u4e2d\u6bcf\u4e2a\u6210\u5206\u7684\u7b2c\u4e00\u4e2a\u5143\u7d20\uff0c\u653e\u5165\u4e00\u4e2a\u50a8\u5b58\u540d\u5b57\u7684\u5411\u91cffirst name\uff0c\u5e76\u63d0\u53d6\u6bcf\u4e2a\u6210\u5206\u7684\u7b2c\u4e8c\u4e2a\u5143\u7d20\uff0c\u653e\u5165\u4e00\u4e2a\u50a8\u5b58\u59d3\u6c0f\u7684\u5411\u91cflastname\uff0c\u6700\u540e\u5220\u9664\u4e0d\u9700\u8981\u7684Student\u7684\u5217\u5c31\u597d\u3002&#8221;[&#8220;\u662f\u4e00\u4e2a\u53ef\u4ee5\u63d0\u53d6\u67d0\u4e2a\u5bf9\u8c61\u7684\u4e00\u90e8\u5206\u7684\u51fd\u6570\uff0c\u8fd9\u91cc\u7528\u4e0e\u63d0\u53d6\u540d\u5b57\u7684\u7b2c\u4e00\u4e2a\u6216\u8005\u7b2c\u4e8c\u4e2a\u53d8\u91cf<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">Firstname &lt;- sapply(name, <span class=\"code-snippet__string\">\"[\"<\/span>,<span class=\"code-snippet__number\">1<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">Lastname &lt;- sapply(name, <span class=\"code-snippet__string\">\"[\"<\/span>,<span class=\"code-snippet__number\">2<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">roster &lt;- cbind(Firstname,Lastname,roster[,-<span class=\"code-snippet__number\">1<\/span>])<\/span><\/code><\/pre>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" data-ratio=\"0.3861111111111111\" data-type=\"png\" data-w=\"1080\" style=\"vertical-align: middle;width: 0px;height: auto !important;\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/7_ia4o5AcEhTjJAdunf4Toj3yoZMahlA.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXjjmsEC5aXz0RE4be2ib1fJV9lbKyiat0Y7nVf6XTgsCEDGWTia4o5AcEhTjJAdunf4Toj3yoZMahlA\/640?wx_fmt=png'\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: -26px;transform: translate3d(26px, 0px, 0px);\">\n<section style=\"display: inline-block;width: auto;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgb(249, 172, 172);min-width: 5%;height: auto;padding: 9px;\">\n<section powered-by=\"xiumi.us\" style=\"text-align: justify;color: rgb(255, 255, 255);\">\n<p><strong>08<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-bottom: 10px;\">\n<section style=\"display: inline-block;width: 769px;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgba(249, 172, 172, 0.15);padding: 13px;\">\n<section powered-by=\"xiumi.us\" style=\"transform: translate3d(64px, 0px, 0px);\">\n<section style=\"text-align: justify;font-size: 17px;\">\n<p><strong>\u7528\u51fd\u6570order()\u8fdb\u884c\u6392\u5e8f<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">roster[order(Lastname,Firstname),]<\/span><\/code><\/pre>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" data-ratio=\"0.40037950664136623\" data-type=\"png\" data-w=\"1054\" style=\"vertical-align: middle;width: 0px;height: auto !important;\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/8_5nOzUDyjJ5lINt84iasLxZrtzxxotA.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXjjmsEC5aXz0RE4be2ib1fJB0BQJCGGoicZQqw5Cn8BgCFrIh5nOzUDyjJ5lINt84iasLxZrtzxxotA\/640?wx_fmt=png'\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p><br  \/><\/p>\n<p>\u6709\u4e86\u8fd9\u4e2a\u6848\u4f8b\u5bf9\u4e8e\u7406\u89e3R\u5206\u6790\u6570\u636e\u6253\u4e0b\u4e86\u4e00\u5b9a\u7684\u57fa\u7840\uff0c\u9664\u4e86\u5728\u793a\u4f8b\u4e2d\u5206\u4eab\u7684\u5916\uff0c\u5c0f\u5e08\u59b9\u8fd8\u60f3\u8865\u5145\u63a7\u5236\u6d41\u7684\u4e00\u6b65\u3002<\/p>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: center;justify-content: center;display: flex;flex-flow: row nowrap;\">\n<section style=\"display: inline-block;vertical-align: middle;width: 256.296875px;align-self: center;flex: 0 0 auto;\">\n<section powered-by=\"xiumi.us\" style=\"margin-top: 0.5em;margin-bottom: 0.5em;\">\n<section style=\"border-top-width: 1px;border-top-style: dashed;border-top-color: rgb(249, 172, 172);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;align-self: center;flex: 0 0 auto;min-width: 5%;height: auto;margin-right: 20px;margin-left: 20px;\">\n<section powered-by=\"xiumi.us\" style=\"margin-top: -3px;\">\n<section style=\"text-align: justify;color: rgb(246, 207, 63);font-size: 20px;\">\n<p style=\"text-align: center;\">\u2605<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: 256.328125px;align-self: center;flex: 0 0 auto;\">\n<section powered-by=\"xiumi.us\" style=\"margin-top: 0.5em;margin-bottom: 0.5em;\">\n<section style=\"border-top-width: 1px;border-top-style: dashed;border-top-color: rgb(249, 172, 172);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"text-align: center;\"><strong style=\"color: rgb(239, 135, 135);\"><span style=\"font-size: 20px;\">\u63a7\u5236\u6d41<\/span><\/strong><\/p>\n<p>\u63a7\u5236\u6d41\u91cd\u590d\u6267\u884c\u67d0\u4e9b\u8bed\u53e5\uff0c\u4ec5\u6ee1\u8db3\u7279\u5b9a\u6761\u4ef6\u4e0b\u6267\u884c\u53e6\u5916\u8bed\u53e5\u3002<\/p>\n<p>\u57fa\u672c\u6982\u5ff5\uff1a\u8bed\u53e5\uff08statement\uff09\uff1b\u6761\u4ef6\uff08cond\uff09\uff1b\u8868\u8fbe\u5f0f\uff08expr\uff09\uff1b\u5e8f\u5217\uff08seq\uff09<\/p>\n<p><br  \/><\/p>\n<p><strong>1\u3001for\u7ed3\u6784<\/strong><\/p>\n<p>for (var in seq) statement<\/p>\n<p><br  \/><\/p>\n<p>\u4f8b\u5982\uff1a<\/p>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">for<\/span> (i <span class=\"code-snippet__keyword\">in<\/span> <span class=\"code-snippet__number\">1<\/span>:<span class=\"code-snippet__number\">10<\/span>) print(<span class=\"code-snippet__string\">\"hello\"<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p><strong><br  \/><\/strong><\/p>\n<p><strong>2\u3001while \u7ed3\u6784<\/strong><\/p>\n<p>while (cond) statemnet<\/p>\n<p><br  \/><\/p>\n<p>\u4f8b\u5982\uff1a<\/p>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">i&lt;<span class=\"code-snippet__number\">10<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">while<\/span> (i&gt;<span class=\"code-snippet__number\">0<\/span>){print(<span class=\"code-snippet__string\">\"Hello\"<\/span>);i &lt;- i-<span class=\"code-snippet__number\">1<\/span>}<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u8fd9\u91cc\u9700\u8981\u63a7\u5236\u597di\uff0c\u7528i &lt;- i-1\uff0c\u5426\u5219i\u4e00\u76f4\u5927\u4e8e0\u5c31\u4f1a\u65e0\u9650\u7684\u5faa\u73af<\/span><\/span><\/code><\/pre>\n<\/section>\n<p powered-by=\"xiumi.us\"><strong><br  \/><\/strong><\/p>\n<p powered-by=\"xiumi.us\"><strong>3\u3001if-else\u7ed3\u6784<\/strong><\/p>\n<section powered-by=\"xiumi.us\">\n<p>if (cond) statement<\/p>\n<p>if (cond) statement1 else statement2<\/p>\n<p><br  \/><\/p>\n<p>\u793a\u4f8b\uff1a<\/p>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">grade &lt;- roster$grade<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">if<\/span>(<span class=\"code-snippet__built_in\">is.character<\/span>(grade)) grade &lt;- as.factor(grade)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">if<\/span>(!is.factor(grade)) grade &lt;- as.factor(grade) <span class=\"code-snippet__keyword\">else<\/span> print(<span class=\"code-snippet__string\">\"grade is already is a factor\"<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<p><br  \/><\/p>\n<p>\u76f8\u4fe1\u4f60\u5df2\u7ecf\u638c\u63e1\u4e86\u63a7\u5236\u6d41\u7684\u5206\u6790\u6570\u636e\u7684\u80fd\u529b\u5566\uff5e<\/p>\n<p>\u73b0\u5728\u5f88\u591a\u6210\u719f\u7684\u4e91\u5e73\u53f0\u5de5\u5177\u5c31\u53ef\u4ee5\u5b9e\u73b0\u6ee1\u8db3\u6211\u4eec\u7684\u65e5\u5e38\u9700\u6c42\u4e86\uff0c\u522b\u5fd8\u4e86\u53ef\u4ee5\u501f\u52a9\u4e91\u5e73\u53f0\u7684\u5e2e\u52a9\u54e6http:\/\/www.biocloudservice.com\/home.html<\/p>\n<p><br  \/><\/p>\n<p>\u597d\u4e86\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\u5566\uff0c\u5982\u679c\u6709\u95ee\u9898\u6b22\u8fce\u548c\u5c0f\u5e08\u59b9\u4e00\u8d77\u8ba8\u8bba\u54e6\uff5e<\/p>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"text-align: center;justify-content: center;margin-top: 10px;margin-bottom: 10px;display: flex;flex-flow: row nowrap;\">\n<section style=\"display: inline-block;vertical-align: top;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;\">\n<section powered-by=\"xiumi.us\" style=\"font-size: 19px;\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u70b9<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section powered-by=\"xiumi.us\" style=\"font-size: 19px;\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u51fb<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section powered-by=\"xiumi.us\" style=\"font-size: 19px;\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u84dd<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section powered-by=\"xiumi.us\" style=\"font-size: 19px;\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u5b57<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section powered-by=\"xiumi.us\" style=\"color: rgb(255, 226, 93);font-size: 12px;\">\n<p>\u2605<\/p>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section powered-by=\"xiumi.us\" style=\"font-size: 19px;\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u5173<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section powered-by=\"xiumi.us\" style=\"font-size: 19px;\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u6ce8<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section powered-by=\"xiumi.us\" style=\"font-size: 19px;\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u6211<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section powered-by=\"xiumi.us\" style=\"font-size: 19px;\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u4eec<\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.5555555555555556\" data-s=\"300,640\" data-type=\"png\" data-w=\"900\" style=\"height: auto !important;\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/9_akXKU5NcO1KwuWc1Rk7ZJ56LC2pYrQ-2.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXjjmsEC5aXz0RE4be2ib1fJPnBD8yX0Z6OF2zocd2ngHpLOakXKU5NcO1KwuWc1Rk7ZJ56LC2pYrQ\/640?wx_fmt=png'\"  data-recalc-dims=\"1\" \/><\/p>\n<\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<p><\/content>\n<\/div>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u4e2a\u793a\u4f8b\u641e\u61c2R\u6570\u636e\u5206\u6790\u7684\u7591\u70b9 \u5c0f\u5e08\u59b9&nbsp;&nbsp;\u751f\u4fe1\u679c&nbsp;&nbsp;2023-07-02 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/56795"}],"collection":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=56795"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/56795\/revisions"}],"predecessor-version":[{"id":56805,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/56795\/revisions\/56805"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=56795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=56795"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=56795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}