{"id":59463,"date":"2024-06-17T08:06:01","date_gmt":"2024-06-17T00:06:01","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=59463"},"modified":"2024-06-17T08:06:01","modified_gmt":"2024-06-17T00:06:01","slug":"r%e9%87%87%e6%a0%b7%e7%9a%84%e5%8a%9b%e9%87%8f%ef%bc%9a%e6%8e%a2%e7%b4%a2%e5%a4%9a%e5%8a%9f%e8%83%bd%e7%9a%84sample%e5%87%bd%e6%95%b0","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=59463","title":{"rendered":"R\u91c7\u6837\u7684\u529b\u91cf\uff1a\u63a2\u7d22\u591a\u529f\u80fd\u7684sample\u51fd\u6570"},"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\":\"R\u91c7\u6837\u7684\u529b\u91cf\uff1a\u63a2\u7d22\u591a\u529f\u80fd\u7684sample\u51fd\u6570\",\"time\":\"2023-08-20 19:00:27\",\"timeStamp\":\"1692529227\"};\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=2247491565&#038;idx=3&#038;sn=314b5c732b2a610f6c202fe1a9641185&#038;chksm=cf7c8f28f80b063ec105a73f0d735ca2d1a9d05ab96ac3191406e5c40516f6670bcef0c4510c#rd\" target=\"_blank\" rel=\"noopener\">R\u91c7\u6837\u7684\u529b\u91cf\uff1a\u63a2\u7d22\u591a\u529f\u80fd\u7684sample\u51fd\u6570<\/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-08-20 19:00:27<\/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=2247484983&#038;idx=1&#038;sn=fb2db3d6ceca2cb359044639fccff3ce\" target=\"_blank\" title=\"\u9605\u8bfb\u539f\u6587\" rel=\"noopener\">http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MDk3Mzg4OA==&#038;mid=2247484983&#038;idx=1&#038;sn=fb2db3d6ceca2cb359044639fccff3ce<\/a><\/p>\n<\/div>\n<section style=\"font-size: 16px;margin-bottom: 24px;\">\n<section style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 20px;margin-bottom: 25px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: auto;vertical-align: top;align-self: flex-start;flex: 0 0 auto;min-width: 5%;height: auto;background-color: rgb(249, 172, 172);box-shadow: rgb(249, 172, 172) 0px 0px 5px 3px;\">\n<section style=\"text-align: center;transform: translate3d(2px, 0px, 0px);margin-top: -14px;margin-bottom: -14px;\" powered-by=\"xiumi.us\">\n<p>&nbsp;{ \u70b9\u51fb\u84dd\u5b57\uff0c\u5173\u6ce8\u6211\u4eec }<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"text-align: center;justify-content: center;margin: 10px 0%;display: flex;flex-flow: row nowrap;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;line-height: 0;align-self: center;\">\n<section style=\"transform: rotateZ(328deg) scale(0.6);transform-origin: center center;margin: -20px -19px;max-width: unset !important;\" powered-by=\"xiumi.us\">\n<section style=\"justify-content: center;margin: 14px 0% 11px;transform: translate3d(5px, 0px, 0px);display: flex;flex-flow: row nowrap;\">\n<section style=\"display: inline-block;width: auto;vertical-align: top;min-width: 10%;flex: 0 0 auto;height: auto;line-height: 0;align-self: flex-start;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 51px;height: 47px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 3px;border-radius: 100%;border-color: rgb(252, 210, 125) rgba(255, 255, 255, 0) rgb(252, 210, 125) rgb(252, 210, 125);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<section style=\"transform: rotateZ(348deg);\" powered-by=\"xiumi.us\">\n<section style=\"margin-top: -37px;margin-right: 0%;margin-left: 0%;transform: translate3d(-12px, 0px, 0px);\">\n<section style=\"display: inline-block;width: 71px;height: 42px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 3px;border-radius: 100%;border-color: rgb(252, 210, 125) rgb(252, 210, 125) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);\"><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>\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: -20px;\">\n<section style=\"transform: translate3d(-1px, 0px, 0px);\" powered-by=\"xiumi.us\">\n<section style=\"font-size: 19px;letter-spacing: 0px;color: rgb(249, 172, 172);padding-right: 6px;padding-left: 6px;text-align: justify;\">\n<p style=\"white-space: normal;\"><strong>\u4ecb\u7ecd<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;line-height: 0;align-self: flex-start;\">\n<section style=\"transform: rotateZ(145deg);\" powered-by=\"xiumi.us\">\n<section style=\"text-align: right;justify-content: flex-end;display: flex;flex-flow: row nowrap;\">\n<section style=\"display: inline-block;width: 10px;vertical-align: top;border-bottom: 2px solid rgb(245, 172, 151);border-bottom-right-radius: 0px;flex: 0 0 auto;height: auto;align-self: flex-start;\">\n<section style=\"transform: rotateZ(24deg);\" powered-by=\"xiumi.us\">\n<section style=\"margin-right: 0%;margin-bottom: 8px;margin-left: 0%;\">\n<section style=\"background-color: rgb(245, 172, 151);height: 2px;\"><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>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\">\u5b9e\u9a8c\u8bbe\u8ba1\u548c\u62bd\u6837\u8c03\u67e5\u662f\u751f\u7269\u4fe1\u606f\u79d1\u5b66\u7684\u57fa\u672c\u6280\u672f\uff0c\u53ef\u4ee5\u4f7f\u6211\u4eec\u5f97\u51fa\u66f4\u6709\u610f\u4e49\u7684\u89c1\u89e3\u3002\u5176\u4e2d\u62bd\u6837\u8c03\u67e5\u901a\u8fc7\u6784\u5efa\u4ee3\u8868\u6027\u5b50\u96c6\uff0c\u6211\u4eec\u53ef\u4ee5\u5bf9\u66f4\u5927\u7684\u7fa4\u4f53\u505a\u51fa\u7edf\u8ba1\u63a8\u65ad\u3002\u5728\u57fa\u56e0\u8868\u8fbe\u7814\u7a76\u4e2d\uff0c\u5f80\u5f80\u4f1a\u9762\u5bf9\u5927\u89c4\u6a21\u7684\u57fa\u56e0\u8868\u8fbe\u6570\u636e\u3002\u4e3a\u4e86\u907f\u514d\u5bf9\u6240\u6709\u57fa\u56e0\u8fdb\u884c\u5168\u9762\u6d4b\u91cf\u548c\u5206\u6790\uff0c\u53ef\u4ee5\u901a\u8fc7\u62bd\u6837\u7684\u65b9\u5f0f\u9009\u53d6\u4e00\u5c0f\u90e8\u5206\u57fa\u56e0\u6837\u672c\uff0c\u4ee3\u8868\u6574\u4f53\u7684\u57fa\u56e0\u8868\u8fbe\u7279\u5f81\u3002\u5728\u86cb\u767d\u8d28\u7ec4\u5b66\u7814\u7a76\u4e2d\uff0c\u62bd\u6837\u65b9\u6cd5\u4e5f\u7ecf\u5e38\u7528\u4e8e\u8d28\u8c31\u6570\u636e\u7684\u5904\u7406\u548c\u5206\u6790\u3002\u901a\u8fc7\u5bf9\u86cb\u767d\u8d28\u6837\u672c\u8fdb\u884c\u62bd\u6837\uff0c\u53ef\u4ee5\u51cf\u5c11\u5927\u91cf\u6570\u636e\u7684\u5904\u7406\u8d1f\u62c5\uff0c\u5e76\u63d0\u9ad8\u6570\u636e\u5206\u6790\u6548\u7387\u3002<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<section><span style=\"text-indent: 0em;letter-spacing: 0.034em;text-align: justify;-webkit-text-size-adjust: 100%;\">R\u8bed\u8a00\u4e2d\u7684sample\uff08\uff09\u51fd\u6570\u662f\u4e00\u4e2a\u529f\u80fd\u5065\u5168\u7684\u51fd\u6570\uff0c\u53ef\u4ee5\u4f7f\u6211\u4eec\u9ad8\u6548\u5730\u521b\u5efa\u968f\u673a\u6837\u672c\u3002\u4e0b\u9762\u5c0f\u5e08\u59b9\u5c06\u901a\u8fc7\u4e00\u7cfb\u5217\u7b80\u5355\u7684\u793a\u4f8b\u6765\u63a2\u7d22\u8be5\u51fd\u6570\u7684\u5404\u79cd\u5e94\u7528\u3002<\/span><\/section>\n<p style=\"text-indent: 0em;white-space: normal;\">\u9996\u5148\uff0c\u5c0f\u5e08\u59b9\u5e26\u5927\u5bb6\u770b\u4e00\u4e0b\u8bed\u6cd5\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\">sample(x, size, replace = <span class=\"code-snippet__literal\">FALSE<\/span>, prob = <span class=\"code-snippet__literal\">NULL<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-indent: 2em;white-space: normal;\" powered-by=\"xiumi.us\">\u5176\u4e2d\uff1a<\/p>\n<ul style=\"list-style-type: \uf0b7;padding-left: 40px;list-style-position: outside;\" class=\"list-paddingleft-1\" powered-by=\"xiumi.us\">\n<li>\n<p>x\u662f\u6211\u4eec\u7684\u6837\u672c\u6570\u636e\u96c6\uff0c\u4e5f\u5c31\u662f\u9700\u8981\u4ece\u4e2d\u62bd\u53d6\u7684\u6570\u636e\u96c6<\/p>\n<\/li>\n<li>\n<p>size\u662f\u89c4\u5b9a\u7684\u62bd\u53d6\u7684\u6837\u672c\u4e2d\u5305\u542b\u7684\u5143\u7d20\u4e2a\u6570<\/p>\n<\/li>\n<li>\n<p>replace\u662f\u4e00\u4e2a\u903b\u8f91\u503c\uff0c\u6307\u793a\u662f\u5426\u4e3a\u65e0\u653e\u56de\u62bd\u6837\uff08\u9ed8\u8ba4\u4e3aFALSE\uff09<\/p>\n<\/li>\n<li>\n<p>prob\u662f\u53ef\u7528\u4e8e\u5bf9\u6837\u672c\u8fdb\u884c\u52a0\u6743\u7684\u6982\u7387\u5411\u91cf\uff08\u9ed8\u8ba4\u4e3a NULL\uff09<\/p>\n<\/li>\n<\/ul>\n<section style=\"text-align: center;justify-content: center;margin: 10px 0%;display: flex;flex-flow: row nowrap;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;line-height: 0;align-self: center;\">\n<section style=\"transform: rotateZ(328deg) scale(0.6);transform-origin: center center;margin: -20px -19px;max-width: unset !important;\" powered-by=\"xiumi.us\">\n<section style=\"justify-content: center;margin: 14px 0% 11px;transform: translate3d(5px, 0px, 0px);display: flex;flex-flow: row nowrap;\">\n<section style=\"display: inline-block;width: auto;vertical-align: top;min-width: 10%;flex: 0 0 auto;height: auto;line-height: 0;align-self: flex-start;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 51px;height: 47px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 3px;border-radius: 100%;border-color: rgb(252, 210, 125) rgba(255, 255, 255, 0) rgb(252, 210, 125) rgb(252, 210, 125);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<section style=\"transform: rotateZ(348deg);\" powered-by=\"xiumi.us\">\n<section style=\"margin-top: -37px;margin-right: 0%;margin-left: 0%;transform: translate3d(-12px, 0px, 0px);\">\n<section style=\"display: inline-block;width: 71px;height: 42px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 3px;border-radius: 100%;border-color: rgb(252, 210, 125) rgb(252, 210, 125) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);\"><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>\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: -20px;\">\n<section style=\"transform: translate3d(-1px, 0px, 0px);\" powered-by=\"xiumi.us\">\n<section style=\"font-size: 19px;letter-spacing: 0px;color: rgb(249, 172, 172);padding-right: 6px;padding-left: 6px;text-align: justify;\">\n<p style=\"white-space: normal;\"><strong>\u4f8b\u5b50<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;line-height: 0;align-self: flex-start;\">\n<section style=\"transform: rotateZ(145deg);\" powered-by=\"xiumi.us\">\n<section style=\"text-align: right;justify-content: flex-end;display: flex;flex-flow: row nowrap;\">\n<section style=\"display: inline-block;width: 10px;vertical-align: top;border-bottom: 2px solid rgb(245, 172, 151);border-bottom-right-radius: 0px;flex: 0 0 auto;height: auto;align-self: flex-start;\">\n<section style=\"transform: rotateZ(24deg);\" powered-by=\"xiumi.us\">\n<section style=\"margin-right: 0%;margin-bottom: 8px;margin-left: 0%;\">\n<section style=\"background-color: rgb(245, 172, 151);height: 2px;\"><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>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"color: rgb(239, 135, 135);\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\"><strong>\u793a\u4f8b 1\uff1a\u7b80\u5355\u968f\u673a\u91c7\u6837<\/strong><\/p>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\">\u7b80\u5355\u968f\u673a\u62bd\u6837\u771f\u662f\u592a\u5e38\u89c1\u4e86\uff0c\u8ba9\u5c0f\u5e08\u59b9\u6765\u5e2e\u4f60\u89e3\u91ca\u4e00\u4e0b\uff01\ud83d\ude0a<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u55ef\u55ef\uff0c\u60f3\u8c61\u4e00\u4e0b\uff0c\u6211\u4eec\u6709\u4e00\u4e2a\u8d85\u7ea7\u9177\u7684\u6570\u636e\u96c6\uff0c\u91cc\u9762\u670980\u4e2a\u4eba\u7684\u5e74\u9f84\u6570\u636e\uff0c\u6bcf\u4e2a\u4eba\u7684\u5e74\u9f84\u90fd\u4e0d\u4e00\u6837\uff0c\u4ece1\u5c81\u523080\u5c81\uff0c\u7edf\u7edf\u90fd\u6709\u3002<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u73b0\u5728\uff0c\u6211\u4eec\u60f3\u8981\u521b\u5efa\u4e00\u4e2a\u5c0f\u6837\u672c\uff0c\u53ea\u898110\u4e2a\u4eba\u7684\u5e74\u9f84\u6570\u636e\uff0c\u800c\u4e14\u5e0c\u671b\u6bcf\u4e2a\u4eba\u7684\u673a\u4f1a\u90fd\u4e00\u6837\uff0c\u88ab\u9009\u4e2d\u7684\u6982\u7387\u90fd\u4e00\u6837\u3002\u563f\u563f\uff0c\u5c31\u50cf\u6bcf\u4e2a\u4eba\u90fd\u5728\u62a2\u7cd6\u679c\u4e00\u6837\uff0c\u5927\u5bb6\u90fd\u6709\u5e73\u7b49\u7684\u673a\u4f1a\u5f97\u5230\u7cd6\u679c\uff01<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u597d\u6d88\u606f\u662f\uff0c\u53ef\u4ee5\u7528\u4e00\u4e2a\u7279\u6b8a\u7684\u51fd\u6570\u6765\u5b9e\u73b0\u8fd9\u4e2a\u795e\u5947\u7684\u62bd\u6837\uff01\u5b83\u5c31\u53eb\u505asample()\u51fd\u6570\u3002\u6211\u4eec\u53ea\u8981\u544a\u8bc9\u5b83\uff0c\u4ece\u603b\u517180\u4e2a\u4eba\u4e2d\uff0c\u8981\u62bd\u53d610\u4e2a\u4eba\uff0c\u5b83\u5c31\u4f1a\u81ea\u52a8\u5e2e\u6211\u4eec\u968f\u673a\u9009\u51fa\u8fd910\u4e2a\u4eba\u7684\u5e74\u9f84\u6570\u636e\uff0c\u8fd8\u4fdd\u8bc1\u6bcf\u4e2a\u4eba\u7684\u9009\u4e2d\u6982\u7387\u90fd\u662f\u76f8\u7b49\u7684\u3002<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u8fd9\u6837\uff0c\u6211\u4eec\u5c31\u5f97\u5230\u4e86\u4e00\u4e2a\u5c0f\u5c0f\u7684\u6837\u672c\uff0c\u91cc\u9762\u670910\u4e2a\u4eba\u7684\u5e74\u9f84\u6570\u636e\uff0c\u5b83\u4eec\u5c31\u597d\u50cf\u662f\u603b\u4f53\u7684\u4ee3\u8868\uff0c\u544a\u8bc9\u6211\u4eec\u603b\u4f53\u5e74\u9f84\u7684\u4e00\u4e9b\u7279\u5f81\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<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\"><span class=\"code-snippet__comment\">#\u521b\u5efa\u5e74\u9f84\u4e3a1\u523080\u768480\u4e2a\u4eba\u603b\u4f53 &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">ages &lt;- 1:<span class=\"code-snippet__number\">80<\/span> &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u968f\u673a\u6570\u79cd\u5b50\uff0c\u4fdd\u8bc1\u6bcf\u6b21\u62bd\u6837\u7ed3\u679c\u76f8\u540c &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">set.seed(<span class=\"code-snippet__number\">123<\/span>) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u91c7\u7528sample\u51fd\u6570\u8fdb\u884c\u7b80\u5355\u968f\u673a\u62bd\u6837 &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">rsample &lt;- sample(ages, size = <span class=\"code-snippet__number\">10<\/span>) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\">rsample &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\">[<span class=\"code-snippet__number\">1<\/span>] <span class=\"code-snippet__number\">31<\/span> <span class=\"code-snippet__number\">79<\/span> <span class=\"code-snippet__number\">51<\/span> <span class=\"code-snippet__number\">14<\/span> <span class=\"code-snippet__number\">67<\/span> <span class=\"code-snippet__number\">42<\/span> <span class=\"code-snippet__number\">50<\/span> <span class=\"code-snippet__number\">43<\/span> <span class=\"code-snippet__number\">77<\/span> <span class=\"code-snippet__number\">25<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">sample()\u51fd\u6570\u4ece\u5411\u91cf\u4e2d\u968f\u673a\u9009\u62e9<span class=\"code-snippet__number\">10<\/span>\u4e2a\u503cages\uff0c\u4e0d\u8fdb\u884c\u653e\u56de\uff0c\u4ece\u800c\u4ea7\u751f\u4e00\u4e2a\u65b0\u5411\u91cfrsample\u3002\u8be5\u6280\u672f\u4ee3\u8868\u7b80\u5355\u968f\u673a\u62bd\u6837\uff0c\u5176\u4e2d\u7fa4\u4f53\u4e2d\u7684\u6bcf\u4e2a\u4e2a\u4f53\u90fd\u6709\u5e73\u7b49\u7684\u673a\u4f1a\u88ab\u7eb3\u5165\u6837\u672c\uff0c\u662f\u4e0d\u662f\u4f8b\u5982\u5176\u540d\uff0c\u5f88\u7b80\u5355\u5462\u3002<\/span><\/code><\/pre>\n<\/section>\n<section style=\"color: rgb(239, 135, 135);\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\"><strong>\u793a\u4f8b 2\uff1a\u653e\u56de\u62bd\u6837<\/strong><\/p>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\">\u6709\u653e\u56de\u62bd\u6837\u5c31\u50cf\u662f\u6211\u4eec\u5728\u73a9\u4e00\u4e2a\u6709\u8da3\u7684\u5c0f\u6e38\u620f\u3002\u6211\u4eec\u6709\u4e00\u4e2a\u888b\u5b50\uff0c\u91cc\u9762\u88c5\u6ee1\u4e86\u5f69\u8272\u7403\uff0c\u6709\u7ea2\u8272\u3001\u84dd\u8272\u3001\u7eff\u8272\u7b49\u7b49\u3002\u73b0\u5728\u6211\u4eec\u60f3\u8981\u6a21\u62df\u62bd\u53d610\u4e2a\u7403\uff0c\u7136\u540e\u628a\u62bd\u51fa\u6765\u7684\u7403\u653e\u56de\u53bb\uff0c\u518d\u7ee7\u7eed\u62bd10\u4e2a\uff0c\u53cd\u590d\u8fdb\u884c\u597d\u51e0\u6b21\u3002<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u4e3a\u4e86\u5b9e\u73b0\u8fd9\u4e2a\u76ee\u6807\uff0c\u6211\u4eec\u4f1a\u7528\u4e00\u4e2a\u5c0f\u7eb8\u6761\u6765\u8bb0\u5f55\u6bcf\u6b21\u62bd\u53d6\u7684\u7403\u7684\u989c\u8272\uff0c\u5e76\u628a\u5b83\u653e\u56de\u888b\u5b50\u91cc\u3002\u7136\u540e\u518d\u6b21\u6447\u52a8\u888b\u5b50\uff0c\u518d\u6b21\u62bd\u51fa10\u4e2a\u7403\u3002\u8fd9\u6837\uff0c\u6bcf\u4e2a\u7403\u90fd\u6709\u53ef\u80fd\u88ab\u591a\u6b21\u9009\u4e2d\uff0c\u5c31\u50cf\u5b83\u5728\u888b\u5b50\u91cc\u73a9\u201c\u95f9\u817e\u201d\u4e00\u6837\u3002\ud83d\ude04\ud83c\udf89<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u6709\u653e\u56de\u62bd\u6837\u9002\u7528\u4e8e\u90a3\u4e9b\u6211\u4eec\u5141\u8bb8\u6837\u672c\u53ef\u4ee5\u91cd\u590d\u51fa\u73b0\u7684\u60c5\u51b5\u3002\u901a\u8fc7\u591a\u6b21\u62bd\u6837\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u597d\u5730\u4e86\u89e3\u603b\u4f53\u7684\u7279\u70b9\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<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\"><span class=\"code-snippet__comment\">#\u521b\u5efa\u4e00\u4e2a\u989c\u8272\u603b\u4f53\uff0c\u5171\u6709\u56db\u79cd\u989c\u8272\u5bf9\u8c61 &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">colors &lt;- <span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__string\">\"red\"<\/span>, <span class=\"code-snippet__string\">\"blue\"<\/span>, <span class=\"code-snippet__string\">\"green\"<\/span>, <span class=\"code-snippet__string\">\"yellow\"<\/span>) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\">set.seed(<span class=\"code-snippet__number\">123<\/span>) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u6709\u653e\u56de\u62bd\u6837 &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">sample_with_replace &lt;- sample(colors, size = <span class=\"code-snippet__number\">10<\/span>, replace = <span class=\"code-snippet__literal\">TRUE<\/span>) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\">sample_with_replace &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\">[<span class=\"code-snippet__number\">1<\/span>] <span class=\"code-snippet__string\">\"green\"<\/span> <span class=\"code-snippet__string\">\"green\"<\/span> <span class=\"code-snippet__string\">\"green\"<\/span> <span class=\"code-snippet__string\">\"blue\"<\/span> <span class=\"code-snippet__string\">\"green\"<\/span> <span class=\"code-snippet__string\">\"blue\"<\/span> <span class=\"code-snippet__string\">\"blue\"<\/span> <span class=\"code-snippet__string\">\"blue\"<\/span> <span class=\"code-snippet__string\">\"green\"<\/span> <span class=\"code-snippet__string\">\"red\"<\/span><\/span><\/code><\/pre>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\">sample()\u51fd\u6570\u5e26\u6709replace = TRUE\u53c2\u6570\uff0c\u4f7f\u6211\u4eec\u80fd\u591f\u4ececolors\u5411\u91cf\u4e2d\u968f\u673a\u9009\u62e910\u79cd\u989c\u8272\uff0c\u5e76\u5141\u8bb8\u91cd\u590d\u3002\u8fd9\u79cd\u65b9\u6cd5\u4ee3\u8868\u653e\u56de\u62bd\u6837\uff0c\u5176\u4e2d\u6bcf\u4e2a\u9009\u62e9\u90fd\u72ec\u7acb\u4e8e\u4e4b\u524d\u7684\u9009\u62e9\u3002<\/p>\n<p style=\"text-indent: 2em;white-space: normal;\"><br  \/><\/p>\n<\/section>\n<section style=\"color: rgb(239, 135, 135);\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\"><strong>\u793a\u4f8b 3\uff1a\u52a0\u6743\u91c7\u6837<\/strong><\/p>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\">\u563f\u563f\uff0c\u5c0f\u5e08\u59b9\u542c\u8bf4\u4f60\u60f3\u77e5\u9053\u52a0\u6743\u91c7\u6837\uff0c\u8fd9\u53ef\u662f\u62bd\u6837\u9886\u57df\u91cc\u7684\u5927\u5496\uff01\u5b83\u662f\u4e00\u79cd\u795e\u5947\u7684\u62bd\u6837\u65b9\u6cd5\uff0c\u6709\u70b9\u50cf\u6211\u4eec\u5728\u505a\u4efb\u52a1\u7684\u65f6\u5019\uff0c\u5bf9\u4f18\u79c0\u540c\u5b66\u7ed9\u4e88\u989d\u5916\u7684\u8d5e\u626c\uff0c\u6216\u8005\u5bf9\u6363\u86cb\u9b3c\u591a\u4e00\u70b9\u989d\u5916\u7684\u76d1\u7763\u3002\u8bf4\u767d\u4e86\uff0c\u5c31\u662f\u7ed9\u4e0d\u540c\u7684\u6837\u672c\u8bbe\u7f6e\u4e0d\u540c\u7684\u6743\u91cd\uff0c\u6709\u4e9b\u6837\u672c\u66f4\u6709\u4efd\u91cf\uff0c\u5c31\u7ed9\u5b83\u4eec\u201c\u52a0\u5206\u201d\u3002<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u4f60\u4e5f\u8bb8\u4f1a\u95ee\uff0c\u52a0\u6743\u91c7\u6837\u6709\u4ec0\u4e48\u7528\u5462\uff1f\u54fc\u54fc\uff0c\u5b83\u53ef\u5389\u5bb3\u4e86\uff01\u5728\u6211\u4eec\u5904\u7406\u4e00\u4e9b\u7279\u6b8a\u60c5\u51b5\u7684\u6570\u636e\u65f6\uff0c\u6bd4\u5982\u67d0\u4e9b\u6837\u672c\u7684\u91cd\u8981\u6027\u4e0d\u4e00\u6837\uff0c\u6216\u8005\u6570\u636e\u5206\u5e03\u4e0d\u5747\u5300\uff0c\u52a0\u6743\u91c7\u6837\u5c31\u4e0a\u573a\u4e86\uff01\u5b83\u80fd\u591f\u8ba9\u6211\u4eec\u66f4\u4e13\u6ce8\u4e8e\u90a3\u4e9b\u771f\u6b63\u91cd\u8981\u7684\u6837\u672c\uff0c\u8ba9\u5b83\u4eec\u5728\u6211\u4eec\u7684\u5b9e\u9a8c\u4e2d\u5360\u636e\u66f4\u5927\u7684\u201c\u8bdd\u8bed\u6743\u201d\u3002<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u9879\u76ee\u5217\u8868\u548c\u76f8\u5e94\u7684\u6743\u91cd\uff0c\u8868\u793a\u5b83\u4eec\u88ab\u9009\u62e9\u7684\u6982\u7387\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u5e26\u53c2\u6570\u7684sample()\u51fd\u6570prob\u6765\u5b9e\u73b0\u52a0\u6743\u91c7\u6837\u3002\u8003\u8651\u4ee5\u4e0b\u793a\u4f8b\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<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<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<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\">library(dplyr) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\">set.seed(<span class=\"code-snippet__number\">123<\/span>) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\">items &lt;- <span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__string\">\"apple\"<\/span>, <span class=\"code-snippet__string\">\"banana\"<\/span>, <span class=\"code-snippet__string\">\"orange\"<\/span>) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\">weights &lt;- <span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__number\">0.4<\/span>, <span class=\"code-snippet__number\">0.2<\/span>, <span class=\"code-snippet__number\">0.4<\/span>) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\">weighted_sample &lt;- sample(items, size = <span class=\"code-snippet__number\">1<\/span>, prob = weights) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\">weighted_sample <\/span><\/code><code><span class=\"code-snippet_outer\">[<span class=\"code-snippet__number\">1<\/span>] <span class=\"code-snippet__string\">\"apple\"<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\">tibble(x = <span class=\"code-snippet__number\">1<\/span>:<span class=\"code-snippet__number\">10<\/span>) |&gt; &nbsp; <\/span><\/code><code><span class=\"code-snippet_outer\"> &nbsp;group_by(x) |&gt; &nbsp; <\/span><\/code><code><span class=\"code-snippet_outer\"> &nbsp;mutate(rs = sample(items, size = <span class=\"code-snippet__number\">1<\/span>, prob = weights)) |&gt; &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\"> &nbsp;ungroup() <\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># A tibble: 10 x 2<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">x rs<\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">1<\/span> &nbsp; &nbsp; <span class=\"code-snippet__number\">1<\/span> orange<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">2<\/span> &nbsp; &nbsp; <span class=\"code-snippet__number\">2<\/span> orange<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">3<\/span> &nbsp; &nbsp; <span class=\"code-snippet__number\">3<\/span> banana<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">4<\/span> &nbsp; &nbsp; <span class=\"code-snippet__number\">4<\/span> banana<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">5<\/span> &nbsp; &nbsp; <span class=\"code-snippet__number\">5<\/span> apple<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">6<\/span> &nbsp; &nbsp; <span class=\"code-snippet__number\">6<\/span> orange<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">7<\/span> &nbsp; &nbsp; <span class=\"code-snippet__number\">7<\/span> banana<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">8<\/span> &nbsp; &nbsp; <span class=\"code-snippet__number\">8<\/span> orange<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">9<\/span> &nbsp; &nbsp; <span class=\"code-snippet__number\">9<\/span> orange<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">10<\/span> &nbsp; &nbsp;<span class=\"code-snippet__number\">10<\/span> banana<\/span><\/code><\/pre>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\">\u5c0f\u53ef\u7231\u679c\u7136\u4e86\u89e3sample()\u51fd\u6570\u7684\u5f3a\u5927\u4e4b\u5904\uff01\u6ca1\u9519\uff0c\u901a\u8fc7\u6307\u5b9aprob\u53c2\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u5b9e\u73b0\u5e26\u6743\u91cd\u7684\u968f\u673a\u62bd\u6837\uff0c\u8ba9\u201c\u82f9\u679c\u201d\u548c\u201c\u6a59\u5b50\u201d\u6709\u66f4\u9ad8\u7684\u6982\u7387\u88ab\u9009\u4e2d\uff0c\u800c\u201c\u9999\u8549\u201d\u5219\u7a0d\u5fae\u4f4e\u4e00\u4e9b\u3002<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u54b1\u4eec\u5047\u8bbe\u6709\u4e00\u4e2a\u6c34\u679c\u7bee\u5b50\uff0c\u91cc\u9762\u6709\u4e09\u79cd\u6c34\u679c\uff1a\u201c\u82f9\u679c\u201d\u3001\u201c\u6a59\u5b50\u201d\u548c\u201c\u9999\u8549\u201d\u3002\u73b0\u5728\uff0c\u6211\u4eec\u5e0c\u671b\u4ece\u7bee\u5b50\u4e2d\u968f\u673a\u62bd\u4e00\u4e2a\u6c34\u679c\uff0c\u4f46\u662f\u8981\u8ba9\u201c\u82f9\u679c\u201d\u548c\u201c\u6a59\u5b50\u201d\u670940%\u7684\u6982\u7387\u88ab\u9009\u4e2d\uff0c\u800c\u201c\u9999\u8549\u201d\u53ea\u670920%\u7684\u6982\u7387\u3002<\/p>\n<p style=\"text-indent: 2em;white-space: normal;\"><br  \/><\/p>\n<\/section>\n<section style=\"color: rgb(239, 135, 135);\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\"><strong>\u793a\u4f8b 4\uff1a\u5206\u5c42\u62bd\u6837<\/strong><\/p>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\">\u5206\u5c42\u62bd\u6837\u662f\u4e00\u4e2a\u5f88\u806a\u660e\u7684\u65b9\u6cd5\uff0c\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528sample()\u51fd\u6570\u7684\u9644\u52a0\u53c2\u6570\u6765\u5b9e\u73b0\u5206\u5c42\u62bd\u6837\uff0c\u786e\u4fdd\u6bcf\u4e2a\u5b66\u79d1\u7684\u5b66\u751f\u6bd4\u4f8b\u5728\u6837\u672c\u4e2d\u5f97\u5230\u4fdd\u6301\u3002\u5c0f\u5e08\u59b9\u5e26\u5927\u5bb6\u770b\u770b\u4e0b\u9762\u7684\u793a\u4f8b\uff1a<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u5047\u8bbe\u6709\u4e00\u4e2a\u5b66\u751f\u6210\u7ee9\u7684\u6570\u636e\u96c6\uff0c\u5176\u4e2d\u5305\u542b\u6570\u5b66\u3001\u82f1\u8bed\u548c\u5386\u53f2\u4e09\u4e2a\u5b66\u79d1\u7684\u6210\u7ee9\u3002\u6211\u4eec\u60f3\u8981\u4ece\u8fd9\u4e2a\u6570\u636e\u96c6\u4e2d\u62bd\u53d6\u4e00\u4e2a\u6837\u672c\uff0c\u8ba9\u6837\u672c\u4e2d\u7684\u5b66\u751f\u6bd4\u4f8b\u4e0e\u603b\u4f53\u4e2d\u7684\u5b66\u751f\u6bd4\u4f8b\u4fdd\u6301\u4e00\u81f4\u3002<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u6211\u4eec\u53ef\u4ee5\u5148\u5c06\u6570\u636e\u96c6\u6309\u7167\u5b66\u79d1\u8fdb\u884c\u5206\u7ec4\uff0c\u7136\u540e\u5206\u522b\u8ba1\u7b97\u6bcf\u4e2a\u5b66\u79d1\u5728\u603b\u4f53\u4e2d\u7684\u5b66\u751f\u6bd4\u4f8b\u3002\u63a5\u7740\uff0c\u6211\u4eec\u4f7f\u7528sample()\u51fd\u6570\u6765\u4ece\u6bcf\u4e2a\u5b66\u79d1\u7684\u5b50\u7ec4\u4e2d\u8fdb\u884c\u62bd\u6837\uff0c\u5e76\u8bbe\u7f6e\u9644\u52a0\u53c2\u6570weights\uff0c\u4ee5\u4fdd\u6301\u6bcf\u4e2a\u5b66\u79d1\u7684\u6bd4\u4f8b\u3002\u5177\u4f53\u4ee3\u7801\u5982\u4e0b\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<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<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<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u5206\u5c42\u62bd\u6837 &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u8bbe\u7f6e\u968f\u673a\u6570\u79cd\u5b50\uff0c\u4ee5\u4fdd\u8bc1\u7ed3\u679c\u7684\u53ef\u91cd\u590d\u6027 &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">set.seed(<span class=\"code-snippet__number\">123<\/span>) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u521b\u5efa\u4e00\u4e2a\u5305\u542b\u5b66\u79d1\u540d\u79f0\u7684\u5411\u91cf &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">subjects &lt;- <span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__string\">\"Math\"<\/span>, <span class=\"code-snippet__string\">\"Science\"<\/span>, <span class=\"code-snippet__string\">\"English\"<\/span>, <span class=\"code-snippet__string\">\"History\"<\/span>) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u521b\u5efa\u5305\u542b\u5b66\u751f\u6210\u7ee9\u7684\u5411\u91cf &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">grades &lt;- <span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__number\">80<\/span>, <span class=\"code-snippet__number\">90<\/span>, <span class=\"code-snippet__number\">85<\/span>, <span class=\"code-snippet__number\">70<\/span>, <span class=\"code-snippet__number\">75<\/span>, <span class=\"code-snippet__number\">95<\/span>, <span class=\"code-snippet__number\">60<\/span>, <span class=\"code-snippet__number\">92<\/span>, <span class=\"code-snippet__number\">88<\/span>, <span class=\"code-snippet__number\">83<\/span>, <span class=\"code-snippet__number\">78<\/span>, <span class=\"code-snippet__number\">91<\/span>) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u5c06\u5b66\u79d1\u5411\u91cf\u8f6c\u6362\u4e3a\u56e0\u5b50\uff0c\u7528\u4e8e\u540e\u9762\u7684\u5206\u5c42\u62bd\u6837 &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">strata &lt;- factor(subjects) &nbsp; &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u4f7f\u7528\u5206\u5c42\u62bd\u6837\u4ece\u6bcf\u4e2a\u5b66\u79d1\u4e2d\u62bd\u53d6\u4e24\u4e2a\u6210\u7ee9 &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># by()\u51fd\u6570\u5c06\u6210\u7ee9\u6309\u7167\u5b66\u79d1\u8fdb\u884c\u5206\u7ec4\uff0crep(strata, 3)\u7528\u4e8e\u6307\u5b9a\u6bcf\u4e2a\u5b66\u79d1\u7684\u91cd\u590d\u6b21\u6570\u4e3a3 &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># FUN\u53c2\u6570\u6307\u5b9a\u62bd\u6837\u51fd\u6570\uff0c\u8fd9\u91cc\u4f7f\u7528sample\u51fd\u6570\u968f\u673a\u62bd\u53d6\u4e24\u4e2a\u6210\u7ee9 &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">stratified_sample &lt;- unlist( &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\"> &nbsp;by( &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\"> &nbsp; &nbsp;grades, &nbsp; <\/span><\/code><code><span class=\"code-snippet_outer\"> &nbsp; &nbsp;<span class=\"code-snippet__built_in\">rep<\/span>(strata, <span class=\"code-snippet__number\">3<\/span>), &nbsp; <\/span><\/code><code><span class=\"code-snippet_outer\"> &nbsp; &nbsp;FUN = <span class=\"code-snippet__keyword\">function<\/span>(x) sample(x, size = <span class=\"code-snippet__number\">2<\/span>) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\"> &nbsp;) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\">) &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u8f93\u51fa\u5206\u5c42\u62bd\u6837\u7684\u7ed3\u679c &nbsp;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">stratified_sample &nbsp;<\/span><\/code><code><span class=\"code-snippet_outer\">English1 English2 History1 History2 &nbsp; &nbsp;Math1 &nbsp; &nbsp;Math2 Science1 Science2<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">78<\/span> &nbsp; &nbsp; &nbsp; <span class=\"code-snippet__number\">85<\/span> &nbsp; &nbsp; &nbsp; <span class=\"code-snippet__number\">91<\/span> &nbsp; &nbsp; &nbsp; <span class=\"code-snippet__number\">92<\/span> &nbsp; &nbsp; &nbsp; <span class=\"code-snippet__number\">88<\/span> &nbsp; &nbsp; &nbsp; <span class=\"code-snippet__number\">75<\/span> &nbsp; &nbsp; &nbsp; <span class=\"code-snippet__number\">95<\/span> &nbsp; &nbsp; &nbsp; <span class=\"code-snippet__number\">83<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-indent: 0em;white-space: normal;\" powered-by=\"xiumi.us\"><span style=\"text-indent: 0em;\">\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528by()\u51fd\u6570\u6309\u79d1\u76ee( )\u5bf9\u6210\u7ee9\u8fdb\u884c\u5206\u7ec4\u3002\u7136\u540e\uff0c\u6211\u4eec\u4f7f\u7528FUN\u53c2\u6570\u5c06sample()\u51fd\u6570\u5e94\u7528\u4e8e\u6bcf\u4e2a\u5b50\u7ec4\u3002\u7ed3\u679c\u662f\u6bcf\u4e2a\u79d1\u76ee\u7684\u4e24\u4e2a\u6210\u7ee9\u7684\u5206\u5c42\u6837\u672c\uff0c\u4fdd\u6301\u6700\u7ec8\u6837\u672c\u4e2d\u5b66\u751f\u7684\u76f8\u5bf9\u6bd4\u4f8b\u3002<\/span><\/p>\n<section style=\"text-align: center;justify-content: center;margin: 10px 0%;display: flex;flex-flow: row nowrap;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;line-height: 0;align-self: center;\">\n<section style=\"transform: rotateZ(328deg) scale(0.6);transform-origin: center center;margin: -20px -19px;max-width: unset !important;\" powered-by=\"xiumi.us\">\n<section style=\"justify-content: center;margin: 14px 0% 11px;transform: translate3d(5px, 0px, 0px);display: flex;flex-flow: row nowrap;\">\n<section style=\"display: inline-block;width: auto;vertical-align: top;min-width: 10%;flex: 0 0 auto;height: auto;line-height: 0;align-self: flex-start;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 51px;height: 47px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 3px;border-radius: 100%;border-color: rgb(252, 210, 125) rgba(255, 255, 255, 0) rgb(252, 210, 125) rgb(252, 210, 125);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<section style=\"transform: rotateZ(348deg);\" powered-by=\"xiumi.us\">\n<section style=\"margin-top: -37px;margin-right: 0%;margin-left: 0%;transform: translate3d(-12px, 0px, 0px);\">\n<section style=\"display: inline-block;width: 71px;height: 42px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 3px;border-radius: 100%;border-color: rgb(252, 210, 125) rgb(252, 210, 125) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);\"><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>\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: -20px;\">\n<section style=\"transform: translate3d(-1px, 0px, 0px);\" powered-by=\"xiumi.us\">\n<section style=\"font-size: 19px;letter-spacing: 0px;color: rgb(249, 172, 172);padding-right: 6px;padding-left: 6px;text-align: justify;\">\n<p style=\"white-space: normal;\"><strong>\u7ed3\u8bba<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;line-height: 0;align-self: flex-start;\">\n<section style=\"transform: rotateZ(145deg);\" powered-by=\"xiumi.us\">\n<section style=\"text-align: right;justify-content: flex-end;display: flex;flex-flow: row nowrap;\">\n<section style=\"display: inline-block;width: 10px;vertical-align: top;border-bottom: 2px solid rgb(245, 172, 151);border-bottom-right-radius: 0px;flex: 0 0 auto;height: auto;align-self: flex-start;\">\n<section style=\"transform: rotateZ(24deg);\" powered-by=\"xiumi.us\">\n<section style=\"margin-right: 0%;margin-bottom: 8px;margin-left: 0%;\">\n<section style=\"background-color: rgb(245, 172, 151);height: 2px;\"><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>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\">R\u4e2d\u7684sample()\u51fd\u6570\u786e\u5b9e\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u5b83\u80fd\u591f\u5e2e\u52a9\u6211\u4eec\u5b9e\u73b0\u5404\u79cd\u4e0d\u540c\u7684\u968f\u673a\u62bd\u6837\u6280\u672f\uff0c\u4ece\u800c\u66f4\u597d\u5730\u7406\u89e3\u6570\u636e\u3001\u505a\u51fa\u51b3\u7b56\u548c\u83b7\u5f97\u89c1\u89e3\u3002<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u65e0\u8bba\u9700\u8981\u8fdb\u884c\u7b80\u5355\u968f\u673a\u62bd\u6837\u3001\u653e\u56de\u62bd\u6837\u3001\u52a0\u6743\u62bd\u6837\uff0c\u751a\u81f3\u662f\u5206\u5c42\u62bd\u6837\uff0csample()\u51fd\u6570\u90fd\u53ef\u4ee5\u8f7b\u677e\u80dc\u4efb\u3002\u901a\u8fc7\u719f\u6089\u4e0d\u540c\u7684\u53c2\u6570\u8bbe\u7f6e\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u9009\u62e9\u5408\u9002\u7684\u91c7\u6837\u6280\u672f\uff0c\u4ece\u800c\u4ece\u6570\u636e\u4e2d\u83b7\u53d6\u6709\u4ef7\u503c\u7684\u4fe1\u606f\u3002\u6240\u4ee5\uff0c\u8ba9\u6211\u4eec\u7ee7\u7eed\u63a2\u7d22sample()\u51fd\u6570\u7684\u5404\u79cd\u529f\u80fd\u5427\uff01\u65e0\u8bba\u60a8\u662f\u5728\u8fdb\u884c\u751f\u4fe1\u5206\u6790\u3001\u673a\u5668\u5b66\u4e60\u8fd8\u662f\u5176\u4ed6\u6570\u636e\u5904\u7406\u4efb\u52a1\uff0c\u90fd\u53ef\u4ee5\u501f\u52a9\u8fd9\u4e2a\u795e\u5947\u7684\u51fd\u6570\u91ca\u653e\u6570\u636e\u7684\u6f5c\u529b\uff0c\u505a\u51fa\u660e\u667a\u7684\u51b3\u7b56\u3002<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u5c0f\u4f19\u4f34\u4eec\uff0c\u4eca\u5929\u6709\u6ca1\u6709\u5b66\u5230\u65b0\u77e5\u8bc6\u5462\uff0c\u60f3\u8981\u7ee7\u7eed\u4e86\u89e3R\u8bed\u8a00\u5185\u5bb9\u53ef\u4ee5\u6301\u7eed\u5173\u6ce8\u5c0f\u5e08\u59b9\u54e6\uff5e\uff5e\u6216\u8005\u4e5f\u53ef\u4ee5\u5173\u6ce8\u6211\u4eec\u7684\u5b98\u7f51\u4e5f\u4f1a\u6301\u7eed\u66f4\u65b0\u7684\u54e6\uff5e http:\/\/www.biocloudservice.com\/home.html\u90a3\u4e48\u5927\u5bb6\u4e00\u8d77\u52a0\u6cb9\uff0c\u7ee7\u7eed\u63a2\u7d22\u91c7\u6837\u7684\u5947\u5999\u4e16\u754c\u5427\uff01\ud83c\udf89\ud83d\udcca\ud83d\udcda<\/p>\n<\/section>\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: 5px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: top;width: auto;align-self: flex-start;flex: 0 0 auto;min-width: 5%;height: auto;\">\n<section style=\"margin-top: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;width: 19px;height: auto;\"><img decoding=\"async\" data-ratio=\"0.8379629629629629\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/1_o9QgLzbs1iatXRIj6iaXwI3QuBZ50Q.png?w=640\" onerror=\"this.src='\u56fe\u7247\/\u751f\u4fe1\u679c_2023-08-20_\u300c\u8f6c\u300dR\u91c7\u6837\u7684\u529b\u91cf\uff1a\u63a2\u7d22\u591a\u529f\u80fd\u7684sample\u51fd\u6570\/2_o9QgLzbs1iatXRIj6iaXwI3QuBZ50Q.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXEuaoudu3kfzSpcPGK7XrYley2iboWqn4En7MTBicV9uVGMthoo9QgLzbs1iatXRIj6iaXwI3QuBZ50Q\/640?wx_fmt=png''\" data-type=\"png\" data-w=\"1080\" style=\"vertical-align: middle;width: 100%;\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;align-self: flex-start;flex: 0 0 auto;min-width: 5%;height: auto;\">\n<section style=\"margin-top: -9px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;width: 11.4844px;height: auto;\"><img decoding=\"async\" data-ratio=\"0.8379629629629629\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/1_o9QgLzbs1iatXRIj6iaXwI3QuBZ50Q.png?w=640\" onerror=\"this.src='\u56fe\u7247\/\u751f\u4fe1\u679c_2023-08-20_\u300c\u8f6c\u300dR\u91c7\u6837\u7684\u529b\u91cf\uff1a\u63a2\u7d22\u591a\u529f\u80fd\u7684sample\u51fd\u6570\/2_o9QgLzbs1iatXRIj6iaXwI3QuBZ50Q.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXEuaoudu3kfzSpcPGK7XrYley2iboWqn4En7MTBicV9uVGMthoo9QgLzbs1iatXRIj6iaXwI3QuBZ50Q\/640?wx_fmt=png''\" data-type=\"png\" data-w=\"1080\" style=\"vertical-align: middle;width: 100%;\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"text-align: center;margin-bottom: 10px;\" powered-by=\"xiumi.us\">\n<section style=\"font-size: 24px;color: rgb(249, 172, 172);\">\n<p><strong>END<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"margin-bottom: 24px;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.5555555555555556\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/3_akXKU5NcO1KwuWc1Rk7ZJ56LC2pYrQ.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXjjmsEC5aXz0RE4be2ib1fJPnBD8yX0Z6OF2zocd2ngHpLOakXKU5NcO1KwuWc1Rk7ZJ56LC2pYrQ\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"900\" style=\"\"  data-recalc-dims=\"1\" \/><\/p>\n<p style=\"margin-bottom: 24px;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.3488888888888889\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/4_BoDuficWb7YjnP0CXo0mIcibhsXn8w-1.jpg?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn1ZkgkpYia2qsgSgNWPQMp0RiaIAmlBoDuficWb7YjnP0CXo0mIcibhsXn8w\/640?wx_fmt=jpeg'\" data-type=\"jpeg\" data-w=\"900\" style=\"\"  data-recalc-dims=\"1\" \/><\/p>\n<p style=\"display: none;margin-bottom: 24px;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<div class=\"msg_source_url\"><a href=\"http:\/\/www.biocloudservice.com\/home.html\" target=\"_blank\" rel=\"noopener\">\u9605\u8bfb\u539f\u6587<\/a><\/div>\n<p><\/content><\/p>\n<div class=\"msg_source_url\"><a href=\"http:\/\/www.biocloudservice.com\/home.html\" target=\"_blank\" rel=\"noopener\">\u9605\u8bfb\u539f\u6587<\/a><\/div>\n<\/div>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R\u91c7\u6837\u7684\u529b\u91cf\uff1a\u63a2\u7d22\u591a\u529f\u80fd\u7684sample\u51fd\u6570 \u5c0f\u5e08\u59b9&nbsp;&nbsp;\u751f\u4fe1\u679c&nbsp;&nbsp;202 [&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\/59463"}],"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=59463"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/59463\/revisions"}],"predecessor-version":[{"id":59467,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/59463\/revisions\/59467"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=59463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=59463"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=59463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}