{"id":54630,"date":"2024-06-16T14:21:18","date_gmt":"2024-06-16T06:21:18","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=54630"},"modified":"2024-06-16T14:21:18","modified_gmt":"2024-06-16T06:21:18","slug":"%e4%b8%89%e5%88%86%e9%92%9f%e5%b8%a6%e4%bd%a0%e5%bf%ab%e9%80%9f%e5%ad%a6%e4%b9%a0%e5%9c%a8r%e8%af%ad%e8%a8%80%e4%b8%ad%e6%95%b0%e6%8d%ae%e8%bd%ac%e6%8d%a2%e5%92%8c%e5%88%86%e6%9e%90%e7%9a%84-2","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=54630","title":{"rendered":"\u4e09\u5206\u949f\u5e26\u4f60\u5feb\u901f\u5b66\u4e60\u5728R\u8bed\u8a00\u4e2d\u6570\u636e\u8f6c\u6362\u548c\u5206\u6790\u7684\u4fdd\u59c6\u7ea7\u6559\u7a0b"},"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\":\"\u4e09\u5206\u949f\u5e26\u4f60\u5feb\u901f\u5b66\u4e60\u5728R\u8bed\u8a00\u4e2d\u6570\u636e\u8f6c\u6362\u548c\u5206\u6790\u7684\u4fdd\u59c6\u7ea7\u6559\u7a0b\",\"time\":\"2023-08-17 19:01:12\",\"timeStamp\":\"1692270072\"};\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=2247491501&#038;idx=4&#038;sn=ede520e55d0e69c74bec228be465c820&#038;chksm=cf7c8f68f80b067e3d831b44f27039b6031ca887b1e98e4ced04c5ee3c3d0580fca3e4820680#rd\" target=\"_blank\" rel=\"noopener\">\u4e09\u5206\u949f\u5e26\u4f60\u5feb\u901f\u5b66\u4e60\u5728R\u8bed\u8a00\u4e2d\u6570\u636e\u8f6c\u6362\u548c\u5206\u6790\u7684\u4fdd\u59c6\u7ea7\u6559\u7a0b<\/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-17 19:01:12<\/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=2247484958&#038;idx=1&#038;sn=1c56424fa921753e4801cd518e1fea2b\" target=\"_blank\" title=\"\u9605\u8bfb\u539f\u6587\" rel=\"noopener\">http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MDk3Mzg4OA==&#038;mid=2247484958&#038;idx=1&#038;sn=1c56424fa921753e4801cd518e1fea2b<\/a><\/p>\n<\/div>\n<section style=\"font-size: 16px;margin-bottom: 24px;\">\n<section style=\"display: flex;width: 100%;flex-flow: column nowrap;\" powered-by=\"xiumi.us\">\n<section style=\"z-index: 1;\" powered-by=\"xiumi.us\">\n<section style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: 10px;\">\n<section style=\"display: inline-block;vertical-align: bottom;width: auto;align-self: flex-end;flex: 0 0 0%;height: auto;\">\n<section style=\"transform: rotateZ(340deg) scale(0.65);margin-top: -4px;margin-bottom: -4px;transform-origin: center center;\" powered-by=\"xiumi.us\">\n<section style=\"text-align: center;\">\n<section style=\"display: inline-block;width: 20px;height: 20px;vertical-align: top;overflow: hidden;border-width: 1px;border-radius: 100%;border-style: solid;border-color: rgb(239, 135, 135);background-color: rgb(242, 203, 206);\">\n<section style=\"margin-top: 2px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 15px;height: 15px;vertical-align: top;overflow: hidden;border-width: 3px;border-radius: 100%;border-style: solid;border-color: rgb(255, 255, 255) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 203, 206);\"><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 style=\"display: inline-block;vertical-align: bottom;width: auto;align-self: flex-end;flex: 0 0 auto;min-width: 5%;height: auto;padding-right: 5px;padding-left: 2px;\">\n<section style=\"text-align: justify;color: rgb(239, 135, 135);font-size: 18px;\" powered-by=\"xiumi.us\">\n<p style=\"text-align: center;white-space: normal;\"><span style=\"font-size: 16px;\">\u70b9\u51fb\u84dd\u5b57\uff0c\u5173\u6ce8\u6211\u4eec<\/span><br  \/><\/p>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;\">\n<section style=\"transform: rotateZ(20deg);\" powered-by=\"xiumi.us\">\n<section style=\"text-align: center;\">\n<section style=\"display: inline-block;width: 20px;height: 20px;vertical-align: top;overflow: hidden;border-width: 1px;border-radius: 100%;border-style: solid;border-color: rgb(239, 135, 135);background-color: rgb(242, 203, 206);\">\n<section style=\"margin-top: 2px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 15px;height: 15px;vertical-align: top;overflow: hidden;border-width: 3px;border-radius: 100%;border-style: solid;border-color: rgb(255, 255, 255) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 203, 206);\"><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>\n<section powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\">\u5728R\u4e2d\uff0c\u6570\u636e\u8f6c\u6362\uff08transformation\uff09\u662f\u4e00\u79cd\u5e7f\u6cdb\u5e94\u7528\u4e8e\u751f\u7269\u5b66\u6570\u636e\u5904\u7406\u4e0e\u5206\u6790\u7684\u91cd\u8981\u6280\u672f\u3002\u751f\u7269\u5b66\u9886\u57df\u6d89\u53ca\u5404\u79cd\u5b9e\u9a8c\u548c\u89c2\u6d4b\u6570\u636e\uff0c\u8fd9\u4e9b\u6570\u636e\u53ef\u80fd\u5177\u6709\u590d\u6742\u7684\u7ed3\u6784\u548c\u5206\u5e03\u3002\u6570\u636e\u8f6c\u6362\u80fd\u591f\u6709\u6548\u5730\u6539\u53d8\u6570\u636e\u7684\u8868\u793a\u5f62\u5f0f\uff0c\u4f7f\u5176\u66f4\u6613\u4e8e\u7406\u89e3\u3001\u89e3\u91ca\u548c\u5efa\u6a21\u3002\u5728\u8fdb\u884c\u751f\u7269\u5b66\u6570\u636e\u5904\u7406\u65f6\uff0c\u6570\u636e\u8f6c\u6362\u662f\u4e00\u4e2a\u4e0d\u53ef\u6216\u7f3a\u7684\u6b65\u9aa4\uff0c\u6709\u52a9\u4e8e\u6d88\u9664\u566a\u97f3\u3001\u7ea0\u6b63\u504f\u5dee\u3001\u589e\u5f3a\u6a21\u5f0f\u7684\u68c0\u6d4b\u548c\u63d0\u9ad8\u6570\u636e\u7684\u53ef\u89e3\u91ca\u6027\u3002<br  \/><\/p>\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<p style=\"white-space: normal;\"><strong>\u6570\u636e\u8f6c\u6362\u53ef\u4ee5\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u4ee5\u4e0b\u51e0\u79cd\u5e38\u89c1\u7684\u65b9\u6cd5\uff1a<\/strong><\/p>\n<\/section>\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: 10px;\" 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(255, 255, 255);overflow: hidden;padding-top: 5px;\">\n<section style=\"display: flex;width: 100%;flex-flow: column nowrap;\" powered-by=\"xiumi.us\">\n<section style=\"z-index: 1;\" powered-by=\"xiumi.us\">\n<section style=\"justify-content: center;display: flex;flex-flow: row nowrap;margin-bottom: 5px;\">\n<section style=\"display: inline-block;vertical-align: bottom;width: auto;align-self: flex-end;flex: 0 0 0%;height: auto;\">\n<section style=\"transform: rotateZ(340deg) scale(0.65);margin-top: -4px;margin-bottom: -4px;transform-origin: center center;\" powered-by=\"xiumi.us\">\n<section style=\"\">\n<section style=\"display: inline-block;width: 20px;height: 20px;vertical-align: top;overflow: hidden;border-width: 1px;border-radius: 100%;border-style: solid;border-color: rgb(239, 135, 135);background-color: rgb(242, 203, 206);\">\n<section style=\"margin-top: 2px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 15px;height: 15px;vertical-align: top;overflow: hidden;border-width: 3px;border-radius: 100%;border-style: solid;border-color: rgb(255, 255, 255) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 203, 206);\"><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 style=\"display: inline-block;vertical-align: bottom;width: auto;align-self: flex-end;flex: 0 0 auto;min-width: 5%;height: auto;padding-right: 5px;padding-left: 2px;\">\n<section style=\"text-align: justify;letter-spacing: 2px;color: rgb(239, 135, 135);font-size: 18px;\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\">\u5bf9\u6570\u8f6c\u6362(Log Transforation)<\/p>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;\">\n<section style=\"transform: rotateZ(20deg);\" powered-by=\"xiumi.us\">\n<section style=\"\">\n<section style=\"display: inline-block;width: 20px;height: 20px;vertical-align: top;overflow: hidden;border-width: 1px;border-radius: 100%;border-style: solid;border-color: rgb(239, 135, 135);background-color: rgb(242, 203, 206);\">\n<section style=\"margin-top: 2px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 15px;height: 15px;vertical-align: top;overflow: hidden;border-width: 3px;border-radius: 100%;border-style: solid;border-color: rgb(255, 255, 255) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 203, 206);\"><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>\n<section style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 10px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 100%;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgb(242, 206, 206);padding-bottom: 5px;\">\n<section style=\"display: flex;flex-flow: row nowrap;text-align: center;justify-content: center;margin-top: -7px;margin-bottom: -12px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-left: -4px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-left: -10px;z-index: 1;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);background-color: 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 style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-left: -10px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-right: -10px;margin-left: -10px;z-index: 1;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);background-color: 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 style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-left: -10px;z-index: 1;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);background-color: 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 style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-left: -10px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-right: -10px;margin-left: -10px;z-index: 1;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);background-color: 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 style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;margin-right: -4px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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<p style=\"white-space: normal;\" powered-by=\"xiumi.us\">\u5728\u57fa\u56e0\u8868\u8fbe\u6570\u636e\u548c\u8ba1\u6570\u6570\u636e\u5206\u6790\u4e2d\uff0c\u6570\u636e\u901a\u5e38\u5448\u73b0\u51fa\u9ad8\u5ea6\u504f\u659c\u7684\u5206\u5e03\uff0c\u800c\u5bf9\u6570\u8f6c\u6362\u53ef\u4ee5\u5c06\u5176\u8f6c\u6362\u4e3a\u5bf9\u6570\u7a7a\u95f4\uff0c\u4f7f\u5f97\u6570\u636e\u66f4\u52a0\u7b26\u5408\u6b63\u6001\u5206\u5e03\u7684\u5047\u8bbe\uff0c\u4ece\u800c\u9002\u7528\u4e8e\u66f4\u591a\u7edf\u8ba1\u5206\u6790\u548c\u5efa\u6a21\u65b9\u6cd5\u3002<\/p>\n<section powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\"><strong style=\"color: rgb(239, 135, 135);\">\u793a\u4f8b\uff1a<\/strong><br  \/><\/p>\n<p style=\"white-space: normal;\">\u5f53\u8fdb\u884clog transformation\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528R\u4e2d\u5185\u7f6e\u7684iris\u6570\u636e\u96c6\u4f5c\u4e3a\u793a\u4f8b\u3002iris\u6570\u636e\u96c6\u662f\u4e00\u4e2a\u7ecf\u5178\u7684\u6570\u636e\u96c6\uff0c\u5305\u542b\u4e86\u4e09\u4e2a\u9e22\u5c3e\u82b1\u7684\u54c1\u79cd\uff08setosa\u3001versicolor\u3001virginica\uff09\u7684\u843c\u7247\uff08sepal\uff09\u548c\u82b1\u74e3\uff08petal\uff09\u7684\u957f\u5ea6\u548c\u5bbd\u5ea6\u7684\u6d4b\u91cf\u503c\u3002<\/p>\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<p style=\"white-space: normal;\">\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u52a0\u8f7diris\u6570\u636e\u96c6\u5e76\u7ed8\u5236\u4e00\u4e2a\u6563\u70b9\u56fe\uff0c\u6765\u67e5\u770b\u4e24\u4e2a\u7279\u5f81\u53d8\u91cf\uff08\u5982\u82b1\u74e3\u957f\u5ea6\u548c\u5bbd\u5ea6\uff09\u4e4b\u95f4\u7684\u5173\u7cfb\u3002\u7136\u540e\uff0c\u6211\u4eec\u5c06\u5bf9\u5176\u4e2d\u4e00\u4e2a\u7279\u5f81\u53d8\u91cf\u8fdb\u884clog transformation\uff0c\u5e76\u518d\u6b21\u7ed8\u5236\u6563\u70b9\u56fe\u6765\u89c2\u5bdf\u6570\u636e\u8f6c\u6362\u540e\u7684\u6548\u679c\u3002<\/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<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u52a0\u8f7diris\u6570\u636e\u96c6<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; data(iris)<\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u7ed8\u5236\u539f\u59cb\u6570\u636e\u7684\u6563\u70b9\u56fe<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; library(ggplot2)<\/span><\/code><code><span class=\"code-snippet_outer\">&gt; ggplot(iris, aes(x = Petal.Length, y = Petal.Width, color = Species)) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ &nbsp; geom_point() +<\/span><\/code><code><span class=\"code-snippet_outer\">+ &nbsp; labs(title = <span class=\"code-snippet__string\">\"Scatter plot of Petal Length vs. Petal Width (Original Data)\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">+ &nbsp; &nbsp; &nbsp; &nbsp;x = <span class=\"code-snippet__string\">\"Petal Length\"<\/span>, y = <span class=\"code-snippet__string\">\"Petal Width\"<\/span>) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ &nbsp; theme_minimal()<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.8603696098562629\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/1_ibrmp2btjhSGsvicyvHeCWWeaRYqJw.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUDXQyBiakER6DKcB8QSa4RvTv6wx6KWgJ3oYhp5IAsVDQHvMeibrmp2btjhSGsvicyvHeCWWeaRYqJw\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"974\" style=\"vertical-align: middle;width: 100%;\"  \/><\/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\"><span class=\"code-snippet__comment\"># \u5bf9Petal.Length\u8fdb\u884clog transformation<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; iris$log_Petal_Length &lt;- <span class=\"code-snippet__built_in\">log<\/span>(iris$Petal.Length)<\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u7ed8\u5236log transformed\u6570\u636e\u7684\u6563\u70b9\u56fe<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; ggplot(iris, aes(x = log_Petal_Length, y = Petal.Width, color = Species)) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ geom_point() +<\/span><\/code><code><span class=\"code-snippet_outer\">+ labs(title = <span class=\"code-snippet__string\">\"Scatter plot of log(Petal Length) vs. Petal Width\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">+ x = <span class=\"code-snippet__string\">\"log(Petal Length)\"<\/span>, y = <span class=\"code-snippet__string\">\"Petal Width\"<\/span>) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ theme_minimal()<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.8603696098562629\" data-s=\"300,640\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2023-08-17_\u300c\u8f6c\u300d\u4e09\u5206\u949f\u5e26\u4f60\u5feb\u901f\u5b66\u4e60\u5728R\u8bed\u8a00\u4e2d\u6570\u636e\u8f6c\u6362\u548c\u5206\u6790\u7684\u4fdd\u59c6\u7ea7\u6559\u7a0b\/2_DSH0nuictAhYcUYdt1h3KGNz293pKg.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUDXQyBiakER6DKcB8QSa4Rv58vyJpqJBL9Y7MESCsNOJamlvDSH0nuictAhYcUYdt1h3KGNz293pKg\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"974\" style=\"vertical-align: middle;width: 100%;\"  \/><\/section>\n<\/section>\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: 10px;\" 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(255, 255, 255);overflow: hidden;padding-top: 5px;\">\n<section style=\"display: flex;width: 100%;flex-flow: column nowrap;\" powered-by=\"xiumi.us\">\n<section style=\"z-index: 1;\" powered-by=\"xiumi.us\">\n<section style=\"justify-content: center;display: flex;flex-flow: row nowrap;margin-bottom: 5px;\">\n<section style=\"display: inline-block;vertical-align: bottom;width: auto;align-self: flex-end;flex: 0 0 0%;height: auto;\">\n<section style=\"transform: rotateZ(340deg) scale(0.65);margin-top: -4px;margin-bottom: -4px;transform-origin: center center;\" powered-by=\"xiumi.us\">\n<section style=\"\">\n<section style=\"display: inline-block;width: 20px;height: 20px;vertical-align: top;overflow: hidden;border-width: 1px;border-radius: 100%;border-style: solid;border-color: rgb(239, 135, 135);background-color: rgb(242, 203, 206);\">\n<section style=\"margin-top: 2px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 15px;height: 15px;vertical-align: top;overflow: hidden;border-width: 3px;border-radius: 100%;border-style: solid;border-color: rgb(255, 255, 255) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 203, 206);\"><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 style=\"display: inline-block;vertical-align: bottom;width: auto;align-self: flex-end;flex: 0 0 auto;min-width: 5%;height: auto;padding-right: 5px;padding-left: 2px;\">\n<section style=\"letter-spacing: 2px;color: rgb(239, 135, 135);font-size: 18px;\" powered-by=\"xiumi.us\">\n<p>Box-cox\u8f6c\u6362<\/p>\n<p>(Box-cox Transformation)<\/p>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;\">\n<section style=\"transform: rotateZ(20deg);\" powered-by=\"xiumi.us\">\n<section style=\"\">\n<section style=\"display: inline-block;width: 20px;height: 20px;vertical-align: top;overflow: hidden;border-width: 1px;border-radius: 100%;border-style: solid;border-color: rgb(239, 135, 135);background-color: rgb(242, 203, 206);\">\n<section style=\"margin-top: 2px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 15px;height: 15px;vertical-align: top;overflow: hidden;border-width: 3px;border-radius: 100%;border-style: solid;border-color: rgb(255, 255, 255) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 203, 206);\"><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>\n<section style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 10px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 100%;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgb(242, 206, 206);padding-bottom: 5px;\">\n<section style=\"display: flex;flex-flow: row nowrap;text-align: center;justify-content: center;margin-top: -7px;margin-bottom: -12px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-left: -4px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-left: -10px;z-index: 1;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);background-color: 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 style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-left: -10px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-right: -10px;margin-left: -10px;z-index: 1;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);background-color: 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 style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-left: -10px;z-index: 1;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);background-color: 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 style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-left: -10px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-right: -10px;margin-left: -10px;z-index: 1;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);background-color: 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 style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;margin-right: -4px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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<p style=\"white-space: normal;\" powered-by=\"xiumi.us\">\u53ef\u4ee5\u5904\u7406\u5e7f\u6cdb\u8303\u56f4\u7684\u6b63\u6570\u6570\u636e\uff0c\u5e76\u4e14\u53ef\u4ee5\u6839\u636e\u6570\u636e\u7684\u7279\u70b9\u9009\u62e9\u5408\u9002\u7684\u8f6c\u6362\u53c2\u6570\u03bb\u3002\u5f53\u6570\u636e\u5b58\u5728\u504f\u659c\u65f6\uff0c\u901a\u8fc7\u9009\u62e9\u5408\u9002\u7684\u03bb\uff0cBox-Cox\u8f6c\u6362\u53ef\u4ee5\u5c06\u6570\u636e\u8f6c\u6362\u4e3a\u66f4\u63a5\u8fd1\u6b63\u6001\u5206\u5e03\u7684\u5f62\u5f0f\u3002\u5728\u5b9e\u9a8c\u6570\u636e\u5206\u6790\u548c\u5efa\u6a21\u4e2d\uff0c\u5047\u8bbe\u6570\u636e\u7b26\u5408\u6b63\u6001\u5206\u5e03\u662f\u5f88\u5e38\u89c1\u7684\uff0c\u56e0\u4e3a\u8bb8\u591a\u7edf\u8ba1\u65b9\u6cd5\u90fd\u4f9d\u8d56\u4e8e\u8be5\u5047\u8bbe\u3002\u901a\u5e38\u4f7f\u7528\u6700\u5927\u4f3c\u7136\u4f30\u8ba1\u6cd5\u6765\u4f30\u8ba1\u8f6c\u6362\u53c2\u6570\u03bb\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5c1d\u8bd5\u4e0d\u540c\u7684\u03bb\u503c\u6765\u627e\u5230\u6700\u4f73\u7684\u8f6c\u6362\u3002<\/p>\n<p style=\"white-space: normal;\" powered-by=\"xiumi.us\"><strong style=\"color: rgb(239, 135, 135);\">\u793a\u4f8b\uff1a<\/strong><br  \/><\/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<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\"># \u52a0\u8f7dplant growth\u6570\u636e\u96c6<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; data(PlantGrowth)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u4f7f\u7528\u4f53\u91cd\uff08weight\uff09\u4f5c\u4e3a\u54cd\u5e94\u53d8\u91cf\uff0c\u62df\u5408\u7ebf\u6027\u6a21\u578b<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; fit_lm &lt;- lm(weight ~ <span class=\"code-snippet__number\">1<\/span>, data = PlantGrowth)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u8fdb\u884cBox-Cox\u8f6c\u6362\uff0c\u5e76\u627e\u5230\u6700\u4f73\u7684lambda\u503c<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; library(MASS)<\/span><\/code><code><span class=\"code-snippet_outer\">&gt; boxcox_result &lt;- boxcox(fit_lm)<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.8603696098562629\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/3_9eB93dAdoyET8zeSfbt6zviaaDbCkQ.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUDXQyBiakER6DKcB8QSa4RvibRPzJD4tzfsXAJc00zJiavSwOb9eB93dAdoyET8zeSfbt6zviaaDbCkQ\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"974\" style=\"vertical-align: middle;width: 100%;\"  \/><\/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<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u8f93\u51fa\u6700\u4f73\u7684lambda\u503c<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; lambda_optimal &lt;- boxcox_result$x[which.max(boxcox_result$y)]<\/span><\/code><code><span class=\"code-snippet_outer\">&gt; cat(<span class=\"code-snippet__string\">\"Optimal lambda:\"<\/span>, lambda_optimal)<\/span><\/code><code><span class=\"code-snippet_outer\">Optimal lambda: <span class=\"code-snippet__number\">1.393939<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u5bf9\u6570\u636e\u8fdb\u884cBox-cox\u8f6c\u6362<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; data_boxcox_transformed &lt;- (PlantGrowth$weight^lambda_optimal - <span class=\"code-snippet__number\">1<\/span>) \/ lambda_optimal<\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u7ed8\u5236\u8f6c\u6362\u540e\u7684\u6570\u636e\u76f4\u65b9\u56fe<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; hist(data_boxcox_transformed, main = <span class=\"code-snippet__string\">\"Histogram of Box-Cox Transformed Data\"<\/span>, xlab = <span class=\"code-snippet__string\">\"Box-Cox Transformed Weight\"<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.8603696098562629\" data-s=\"300,640\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2023-08-17_\u300c\u8f6c\u300d\u4e09\u5206\u949f\u5e26\u4f60\u5feb\u901f\u5b66\u4e60\u5728R\u8bed\u8a00\u4e2d\u6570\u636e\u8f6c\u6362\u548c\u5206\u6790\u7684\u4fdd\u59c6\u7ea7\u6559\u7a0b\/4_STDEeyWEq1mnJNICZKNTFBkzp2nIVg.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUDXQyBiakER6DKcB8QSa4Rvksa5nu56sx5wdBpIPlXmZkD2STDEeyWEq1mnJNICZKNTFBkzp2nIVg\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"974\" style=\"vertical-align: middle;width: 100%;\"  \/><\/section>\n<\/section>\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: 10px;\" 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(255, 255, 255);overflow: hidden;padding-top: 5px;\">\n<section style=\"display: flex;width: 100%;flex-flow: column nowrap;\" powered-by=\"xiumi.us\">\n<section style=\"z-index: 1;\" powered-by=\"xiumi.us\">\n<section style=\"justify-content: center;display: flex;flex-flow: row nowrap;margin-bottom: 5px;\">\n<section style=\"display: inline-block;vertical-align: bottom;width: auto;align-self: flex-end;flex: 0 0 0%;height: auto;\">\n<section style=\"transform: rotateZ(340deg) scale(0.65);margin-top: -4px;margin-bottom: -4px;transform-origin: center center;\" powered-by=\"xiumi.us\">\n<section style=\"\">\n<section style=\"display: inline-block;width: 20px;height: 20px;vertical-align: top;overflow: hidden;border-width: 1px;border-radius: 100%;border-style: solid;border-color: rgb(239, 135, 135);background-color: rgb(242, 203, 206);\">\n<section style=\"margin-top: 2px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 15px;height: 15px;vertical-align: top;overflow: hidden;border-width: 3px;border-radius: 100%;border-style: solid;border-color: rgb(255, 255, 255) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 203, 206);\"><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 style=\"display: inline-block;vertical-align: bottom;width: auto;align-self: flex-end;flex: 0 0 auto;min-width: 5%;height: auto;padding-right: 5px;padding-left: 2px;\">\n<section style=\"letter-spacing: 2px;color: rgb(239, 135, 135);font-size: 18px;\" powered-by=\"xiumi.us\">\n<p>\u4e2d\u5fc3\uff08\u5747\u503c\uff09\u8f6c\u6362<\/p>\n<p>(Centering Transformation)<\/p>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;\">\n<section style=\"transform: rotateZ(20deg);\" powered-by=\"xiumi.us\">\n<section style=\"\">\n<section style=\"display: inline-block;width: 20px;height: 20px;vertical-align: top;overflow: hidden;border-width: 1px;border-radius: 100%;border-style: solid;border-color: rgb(239, 135, 135);background-color: rgb(242, 203, 206);\">\n<section style=\"margin-top: 2px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 15px;height: 15px;vertical-align: top;overflow: hidden;border-width: 3px;border-radius: 100%;border-style: solid;border-color: rgb(255, 255, 255) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 203, 206);\"><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>\n<section style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 10px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 100%;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgb(242, 206, 206);padding-bottom: 5px;\">\n<section style=\"display: flex;flex-flow: row nowrap;text-align: center;justify-content: center;margin-top: -7px;margin-bottom: -12px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-left: -4px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-left: -10px;z-index: 1;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);background-color: 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 style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-left: -10px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-right: -10px;margin-left: -10px;z-index: 1;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);background-color: 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 style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-left: -10px;z-index: 1;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);background-color: 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 style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-left: -10px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-right: -10px;margin-left: -10px;z-index: 1;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);background-color: 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 style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;margin-right: -4px;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);background-color: rgb(241, 206, 206);\"><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<p style=\"white-space: normal;\" powered-by=\"xiumi.us\">\u901a\u8fc7\u51cf\u53bb\u6570\u636e\u7684\u5747\u503c\uff0c\u4f7f\u6570\u636e\u96c6\u56f4\u7ed5\u96f6\u70b9\u5bf9\u79f0\u5206\u5e03\uff0c\u4ece\u800c\u6d88\u9664\u6574\u4f53\u504f\u79fb\u3002\u8fd9\u5bf9\u4e8e\u4e00\u4e9b\u7edf\u8ba1\u6a21\u578b\u7684\u62df\u5408\u548c\u89e3\u91ca\u975e\u5e38\u6709\u7528\uff0c\u56e0\u4e3a\u4e00\u4e9b\u6a21\u578b\uff08\u4f8b\u5982\u56de\u5f52\u6a21\u578b\uff09\u5728\u6570\u636e\u6ca1\u6709\u6574\u4f53\u504f\u79fb\u65f6\u8868\u73b0\u66f4\u597d\u3002\u53ea\u662f\u5bf9\u6570\u636e\u8fdb\u884c\u5e73\u79fb\uff0c\u4e0d\u6539\u53d8\u6570\u636e\u4e4b\u95f4\u7684\u76f8\u5bf9\u5173\u7cfb\u548c\u6392\u5217\u987a\u5e8f\u3002\u6570\u636e\u7684\u76f8\u5bf9\u5dee\u5f02\u548c\u65b9\u5dee\u4e0d\u4f1a\u6539\u53d8\uff0c\u4e5f\u4e0d\u4f1a\u5f71\u54cd\u6570\u636e\u7684\u6bd4\u4f8b\u5173\u7cfb\u3002\u5728\u591a\u53d8\u91cf\u5206\u6790\u4e2d\uff0c\u5982\u679c\u53d8\u91cf\u4e4b\u95f4\u5b58\u5728\u9ad8\u5ea6\u76f8\u5173\u6027\uff0c\u4f1a\u5f15\u8d77\u5171\u7ebf\u6027\u95ee\u9898\u3002\u901a\u8fc7\u5bf9\u6570\u636e\u8fdb\u884c\u4e2d\u5fc3\u5316\uff0c\u53ef\u4ee5\u51cf\u5c11\u5171\u7ebf\u6027\uff0c\u4ece\u800c\u6539\u5584\u6a21\u578b\u7684\u7a33\u5b9a\u6027\u548c\u89e3\u91ca\u6027\u3002<\/p>\n<section powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\"><strong style=\"color: rgb(239, 135, 135);\">\u793a\u4f8b\uff1a<\/strong><br  \/><\/p>\n<p style=\"white-space: normal;\">\u6211\u4eec\u5c06\u7ed8\u5236\u539f\u59cb\u6570\u636e\u7684\u6563\u70b9\u56fe\uff0c\u5176\u4e2d\u6a2a\u8f74\u662f\u82b1\u74e3\u957f\u5ea6\uff08Petal.Length\uff09\uff0c\u7eb5\u8f74\u662f\u82b1\u74e3\u5bbd\u5ea6\uff08Petal.Width\uff09\u3002\u7136\u540e\uff0c\u6211\u4eec\u5c06\u5bf9\u6570\u636e\u8fdb\u884cCentering Transformation\uff0c\u518d\u7ed8\u5236\u8f6c\u6362\u540e\u7684\u6563\u70b9\u56fe\uff0c\u89c2\u5bdf\u6570\u636e\u8f6c\u6362\u7684\u6548\u679c\u3002<\/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<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u52a0\u8f7diris\u6570\u636e\u96c6<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; data(iris)<\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u7ed8\u5236\u539f\u59cb\u6570\u636e\u7684\u6563\u70b9\u56fe\uff08\u5982\u793a\u4f8b1\uff09<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; library(ggplot2)<\/span><\/code><code><span class=\"code-snippet_outer\">&gt; ggplot(iris, aes(x = Petal.Length, y = Petal.Width, color = Species)) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ &nbsp; geom_point() +<\/span><\/code><code><span class=\"code-snippet_outer\">+ &nbsp; labs(title = <span class=\"code-snippet__string\">\"Scatter plot of Petal Length vs. Petal Width (Original Data)\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">+ &nbsp; &nbsp; &nbsp; &nbsp;x = <span class=\"code-snippet__string\">\"Petal Length\"<\/span>, y = <span class=\"code-snippet__string\">\"Petal Width\"<\/span>) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ &nbsp; theme_minimal()<\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u5bf9Petal.Length\u8fdb\u884cCentering Transformation<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; centered_Petal_Length &lt;- iris$Petal.Length - mean(iris$Petal.Length)<\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># \u7ed8\u5236Centering Transformation\u540e\u7684\u6570\u636e\u7684\u6563\u70b9\u56fe<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">&gt; ggplot(data = iris, aes(x = centered_Petal_Length, y = Petal.Width, color = Species)) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ &nbsp; geom_point() +<\/span><\/code><code><span class=\"code-snippet_outer\">+ &nbsp; labs(title = <span class=\"code-snippet__string\">\"Scatter plot of Centered Petal Length vs. Petal Width\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\">+ &nbsp; &nbsp; &nbsp; &nbsp;x = <span class=\"code-snippet__string\">\"Centered Petal Length\"<\/span>, y = <span class=\"code-snippet__string\">\"Petal Width\"<\/span>) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ &nbsp; theme_minimal()<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.8603696098562629\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/5_UJA7Hod2GPIwsOnficxPLjXRqPGU8g.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUDXQyBiakER6DKcB8QSa4Rv5hsMJfJzxrwdkOQwDxKedTumLUJA7Hod2GPIwsOnficxPLjXRqPGU8g\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"974\" style=\"vertical-align: middle;width: 100%;\"  \/><\/section>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<p style=\"white-space: normal;\">\u901a\u8fc7\u8fd0\u7528\u8fd9\u4e9b\u6570\u636e\u8f6c\u6362\u6280\u672f\uff0c\u751f\u7269\u5b66\u5bb6\u80fd\u591f\u4ece\u539f\u59cb\u6570\u636e\u4e2d\u83b7\u53d6\u66f4\u6709\u610f\u4e49\u7684\u4fe1\u606f\uff0c\u5e2e\u52a9\u4ed6\u4eec\u505a\u51fa\u79d1\u5b66\u5047\u8bbe\u3001\u63a2\u7d22\u57fa\u56e0\u529f\u80fd\u3001\u53d1\u73b0\u751f\u7269\u5b66\u6a21\u5f0f\u548c\u89e3\u91ca\u5b9e\u9a8c\u7ed3\u679c\u3002\u503c\u5f97\u5f3a\u8c03\u7684\u662f\uff0c\u5728\u8fdb\u884c\u6570\u636e\u8f6c\u6362\u65f6\uff0c\u7814\u7a76\u4eba\u5458\u9700\u8981\u6df1\u5165\u4e86\u89e3\u6570\u636e\u7684\u80cc\u666f\u548c\u7814\u7a76\u76ee\u7684\uff0c\u5e76\u6839\u636e\u6570\u636e\u7684\u7279\u6027\u9009\u62e9\u5408\u9002\u7684\u8f6c\u6362\u65b9\u6cd5\u3002\u6b63\u786e\u5730\u5e94\u7528\u6570\u636e\u8f6c\u6362\u80fd\u591f\u63d0\u9ad8\u6570\u636e\u8d28\u91cf\u548c\u5206\u6790\u7684\u53ef\u9760\u6027\uff0c\u4e3a\u751f\u7269\u5b66\u7814\u7a76\u548c\u5e94\u7528\u5960\u5b9a\u575a\u5b9e\u57fa\u7840\u3002<\/p>\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<p style=\"white-space: normal;\">\u4ee5\u4e0a\u5c31\u662f\u5bf9\u5728R\u4e2d\u5982\u4f55\u8fd0\u7528\u6570\u636e\u8f6c\u6362\u7684\u7b80\u5355\u4ecb\u7ecd\u5566\uff0c&#8221;transformations&#8221; \u901a\u5e38\u6307\u5bf9\u6570\u636e\u8fdb\u884c\u53d8\u6362\u6216\u8f6c\u6362\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u7406\u89e3\u548c\u5206\u6790\u6570\u636e\u3002\u5728\u751f\u7269\u5b66\u6570\u636e\u65b9\u9762\uff0c\u6570\u636e\u8f6c\u6362\u662f\u5e38\u89c1\u7684\u64cd\u4f5c\uff0c\u53ef\u4ee5\u7528\u4e8e\u9884\u5904\u7406\u3001\u6807\u51c6\u5316\u3001\u5f52\u4e00\u5316\u6216\u8f6c\u6362\u751f\u7269\u5b66\u5b9e\u9a8c\u6570\u636e\uff0c\u4ee5\u53ca\u6267\u884c\u6570\u636e\u53ef\u89c6\u5316\u548c\u7edf\u8ba1\u5206\u6790\u3002<\/p>\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<p style=\"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<\/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=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2023-08-17_\u300c\u8f6c\u300d\u4e09\u5206\u949f\u5e26\u4f60\u5feb\u901f\u5b66\u4e60\u5728R\u8bed\u8a00\u4e2d\u6570\u636e\u8f6c\u6362\u548c\u5206\u6790\u7684\u4fdd\u59c6\u7ea7\u6559\u7a0b\/6_CsZGZfT4nxiazqGYRV3KIibfbRncKQ.png\" onerror=\"this.src='\u56fe\u7247\/\u751f\u4fe1\u679c_2023-08-17_\u300c\u8f6c\u300d\u4e09\u5206\u949f\u5e26\u4f60\u5feb\u901f\u5b66\u4e60\u5728R\u8bed\u8a00\u4e2d\u6570\u636e\u8f6c\u6362\u548c\u5206\u6790\u7684\u4fdd\u59c6\u7ea7\u6559\u7a0b\/7_CsZGZfT4nxiazqGYRV3KIibfbRncKQ.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUDXQyBiakER6DKcB8QSa4Rvqyickicr3wMDcVic4QJicxfqIDaqygCsZGZfT4nxiazqGYRV3KIibfbRncKQ\/640?wx_fmt=png''\" data-type=\"png\" data-w=\"1080\" style=\"vertical-align: middle;width: 100%;\"  \/><\/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=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2023-08-17_\u300c\u8f6c\u300d\u4e09\u5206\u949f\u5e26\u4f60\u5feb\u901f\u5b66\u4e60\u5728R\u8bed\u8a00\u4e2d\u6570\u636e\u8f6c\u6362\u548c\u5206\u6790\u7684\u4fdd\u59c6\u7ea7\u6559\u7a0b\/6_CsZGZfT4nxiazqGYRV3KIibfbRncKQ.png\" onerror=\"this.src='\u56fe\u7247\/\u751f\u4fe1\u679c_2023-08-17_\u300c\u8f6c\u300d\u4e09\u5206\u949f\u5e26\u4f60\u5feb\u901f\u5b66\u4e60\u5728R\u8bed\u8a00\u4e2d\u6570\u636e\u8f6c\u6362\u548c\u5206\u6790\u7684\u4fdd\u59c6\u7ea7\u6559\u7a0b\/7_CsZGZfT4nxiazqGYRV3KIibfbRncKQ.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUDXQyBiakER6DKcB8QSa4Rvqyickicr3wMDcVic4QJicxfqIDaqygCsZGZfT4nxiazqGYRV3KIibfbRncKQ\/640?wx_fmt=png''\" data-type=\"png\" data-w=\"1080\" style=\"vertical-align: middle;width: 100%;\"  \/><\/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.3488888888888889\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/8_BoDuficWb7YjnP0CXo0mIcibhsXn8w.jpg\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn1ZkgkpYia2qsgSgNWPQMp0RiaIAmlBoDuficWb7YjnP0CXo0mIcibhsXn8w\/640?wx_fmt=jpeg'\" data-type=\"jpeg\" data-w=\"900\" style=\"\"  \/><\/p>\n<p style=\"margin-bottom: 24px;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.5555555555555556\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/9_akXKU5NcO1KwuWc1Rk7ZJ56LC2pYrQ.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXjjmsEC5aXz0RE4be2ib1fJPnBD8yX0Z6OF2zocd2ngHpLOakXKU5NcO1KwuWc1Rk7ZJ56LC2pYrQ\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"900\" style=\"\"  \/><\/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>\u4e09\u5206\u949f\u5e26\u4f60\u5feb\u901f\u5b66\u4e60\u5728R\u8bed\u8a00\u4e2d\u6570\u636e\u8f6c\u6362\u548c\u5206\u6790\u7684\u4fdd\u59c6\u7ea7\u6559\u7a0b \u5c0f\u5e08\u59b9&nbsp;&nbsp;\u751f\u4fe1\u679c&nbsp;&#038;nb [&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\/54630"}],"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=54630"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/54630\/revisions"}],"predecessor-version":[{"id":54640,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/54630\/revisions\/54640"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=54630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=54630"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=54630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}