{"id":3246,"date":"2024-11-10T12:37:14","date_gmt":"2024-11-10T03:37:14","guid":{"rendered":"https:\/\/best-biostatistics.com\/toukei-er\/?p=3246"},"modified":"2024-11-10T12:37:16","modified_gmt":"2024-11-10T03:37:16","slug":"how_to_neatly_paste_r_analysis_results_into_excel","status":"publish","type":"post","link":"https:\/\/best-biostatistics.com\/toukei-er\/entry\/how_to_neatly_paste_r_analysis_results_into_excel\/","title":{"rendered":"R \u306e\u89e3\u6790\u7d50\u679c\u3092\u304d\u308c\u3044\u306b\u30a8\u30af\u30bb\u30eb\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u65b9\u6cd5"},"content":{"rendered":"\n<p>R \u306e\u89e3\u6790\u7d50\u679c\u3092\u304d\u308c\u3044\u306b\u30a8\u30af\u30bb\u30eb\u306b\u8cbc\u308a\u4ed8\u3051\u3089\u308c\u308b\u3068\u3001\u3068\u3066\u3082\u52a9\u304b\u308b<\/p>\n\n\n\n<p>\u7c21\u5358\u304d\u308c\u3044\u306b\u30a8\u30af\u30bb\u30eb\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u65b9\u6cd5\u306e\u3054\u7d39\u4ecb<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">clipr \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5<\/h2>\n\n\n\n<p>clipr \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u3046\u3068\u7c21\u5358\u3067\u3042\u308b<\/p>\n\n\n\n<p>\u4f7f\u7528\u3059\u308b\u524d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>install.packages(\"clipr\")<\/code><\/pre>\n\n\n\n<p>\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u51fa\u529b\u304c\u3042\u3063\u305f\u3068\u3059\u308b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>> summary(pool(fit), conf.int=TRUE)\n         term   estimate  std.error statistic        df      p.value       2.5 %     97.5 %\n1 (Intercept)  4.7699184 3.79887694  1.255613  95.89548 2.123072e-01 -2.77089764 12.3107344\n2           A  0.5250196 0.04955682 10.594294  95.48675 8.416687e-18  0.42664330  0.6233958\n3           B  0.4166905 0.09364468  4.449698  99.17848 2.252331e-05  0.23088329  0.6024977\n4   Cmoderate  6.0037416 1.15895538  5.180304 102.34691 1.115123e-06  3.70505258  8.3024305\n5     Csevere 10.8535699 1.17625062  9.227260  97.84174 5.831573e-15  8.51929162 13.1878481\n6       Treat  6.3900814 1.01384798  6.302800 100.76707 7.785679e-09  4.37882332  8.4013394\n7         Age  0.2034606 0.07030245  2.894075  98.23916 4.685031e-03  0.06395189  0.3429692\n8        SexM  3.9642318 0.94852454  4.179367  99.73747 6.280349e-05  2.08232543  5.8461381<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u51fa\u529b\u3092\u3001\u30a8\u30af\u30bb\u30eb\u306b\u7c21\u5358\u304d\u308c\u3044\u306b\u8cbc\u308a\u4ed8\u3051\u3089\u308c\u308b\u3068\u3068\u3066\u3082\u3088\u3044<\/p>\n\n\n\n<p>\u305d\u3093\u306a\u3068\u304d\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u540d\u524d\u3092\u4ed8\u3051\u3066\uff08\u4f8b\uff1asummary.pool\uff09write_clip \u95a2\u6570\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3059\u308b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>summary.pool &lt;- summary(pool(fit), conf.int=TRUE)\n\nlibrary(clipr)\nwrite_clip(summary.pool)<\/code><\/pre>\n\n\n\n<p>\u30a8\u30af\u30bb\u30eb\u30b7\u30fc\u30c8\u3092\u958b\u304d\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb + V \u3067\u8cbc\u308a\u4ed8\u3051\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4e00\u3064\u4e00\u3064\u306e\u30bb\u30eb\u306b\u304d\u308c\u3044\u306b\u8cbc\u308a\u3064\u304f<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"614\" height=\"256\" src=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2024\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-11-10-121817.png\" alt=\"\" class=\"wp-image-3247\" srcset=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2024\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-11-10-121817.png 614w, https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2024\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-11-10-121817-300x125.png 300w\" sizes=\"(max-width: 614px) 100vw, 614px\" \/><\/figure>\n\n\n\n<p>\u51fa\u529b\u304c\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001as.data.frame \u95a2\u6570\u3067\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306b\u3059\u308b\u3068\u3046\u307e\u304f\u3044\u304f<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306f\u4e00\u4f8b\u3067\u3042\u308b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tableone_df &lt;- as.data.frame(print(tableone))\nwrite_clip(tableone_df)<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">EZR \u306e\u30e1\u30cb\u30e5\u30fc\u3092\u4f7f\u3046\u65b9\u6cd5<\/h2>\n\n\n\n<p>EZR \u306b\u306f\u3001\u30b0\u30e9\u30d5\u3068\u8868 \u2192 \u30b5\u30f3\u30d7\u30eb\u306e\u80cc\u666f\u30c7\u30fc\u30bf\u306e\u30b5\u30de\u30ea\u30fc\u8868\u306e\u51fa\u529b\u3001\u53ca\u3073\u3001\u89e3\u6790\u7d50\u679c\u306e\u30b5\u30de\u30ea\u30fc\u8868\u306e\u51fa\u529b\u3068\u3044\u3046\u30e1\u30cb\u30e5\u30fc\u304c\u3042\u308b<\/p>\n\n\n\n<p>\u3053\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u4f7f\u3046\u3068\u7c21\u5358\u30fb\u304d\u308c\u3044\u306b\u30a8\u30af\u30bb\u30eb\u306b\u51fa\u529b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n\n\n\n<p>\u8a73\u7d30\u306f\u904e\u53bb\u8a18\u4e8b\u53c2\u7167<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2024\/08\/1920x1080-video-Excel-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/best-biostatistics.com\/toukei-er\/entry\/how-to-paste-outputs-from-ezr-to-excel\/\">EZR \u306e\u96c6\u8a08\u7d50\u679c\u30fb\u89e3\u6790\u7d50\u679c\u3092\u30a8\u30af\u30bb\u30eb\u306b\u7c21\u5358\u304d\u308c\u3044\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">EZR\u306e\u51fa\u529b\u3092Excel\u306b\u304d\u308c\u3044\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u65b9\u6cd5\u3002 \u6a19\u6e96\u306e\u6a5f\u80fd\u3092\u4f7f\u3046\u65b9\u6cd5\u3068\u3001\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u30a6\u30a3\u30b6\u30fc\u30c9\u3092\u4f7f\u3046\u65b9\u6cd5\u3092\u7d39\u4ecb\u3059\u308b\u3002 \u30d9\u30fc\u30b9\u30e9\u30a4\u30f3\u306e\u60a3\u8005\u80cc\u666f\u306e\u8868 \u300c\u30b0\u30e9\u30d5\u3068\u8868\u300d&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<p>\u3053\u3061\u3089\u306e\u6a5f\u80fd\u3067\u51fa\u529b\u3067\u304d\u306a\u3044\u7d50\u679c\u306f\u3001\u4e0a\u8a18\u306e clipr \u3092\u4f7f\u3046\u3068\u3088\u3044<\/p>\n\n\n\n<div id=\"biost-2431169427\" class=\"biost- biost-entity-placement\"><p style=\"text-align: center;\"><span style=\"font-size: 20px;\"><strong><a href=\"https:\/\/best-biostatistics.com\/kmhl\">\uff1e\uff1e\u3082\u3046\u7d71\u8a08\u3067\u60a9\u3080\u306e\u306f\u7d42\u308f\u308a\u306b\u3057\u307e\u305b\u3093\u304b\uff1f\u00a0<\/a><\/strong><\/span><\/p>\r\n<a href=\"https:\/\/best-biostatistics.com\/kmhl\"><img class=\"aligncenter wp-image-2794 size-full\" src=\"https:\/\/best-biostatistics.com\/wp\/wp-content\/uploads\/2023\/11\/bn_r_03.png\" alt=\"\" width=\"500\" height=\"327\" \/><\/a>\r\n<p style=\"text-align: center;\"><span style=\"color: #ff0000; font-size: 20px;\"><strong><span class=\"marker2\">\u21911\u4e07\u4eba\u4ee5\u4e0a\u306e\u533b\u7642\u5f93\u4e8b\u8005\u304c\u8cfc\u8aad\u4e2d<\/span><\/strong><\/span><\/p><\/div><h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>R \u306e\u96c6\u8a08\u7d50\u679c\u30fb\u89e3\u6790\u7d50\u679c\u51fa\u529b\u3092\u7c21\u5358\u304d\u308c\u3044\u306b\u30a8\u30af\u30bb\u30eb\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u305f<\/p>\n\n\n\n<p>\u53c2\u8003\u306b\u306a\u308c\u3070<\/p>\n","protected":false},"excerpt":{"rendered":"<p>R \u306e\u89e3\u6790\u7d50\u679c\u3092\u304d\u308c\u3044\u306b\u30a8\u30af\u30bb\u30eb\u306b\u8cbc\u308a\u4ed8\u3051\u3089\u308c\u308b\u3068\u3001\u3068\u3066\u3082\u52a9\u304b\u308b \u7c21\u5358\u304d\u308c\u3044\u306b\u30a8\u30af\u30bb\u30eb\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u65b9\u6cd5\u306e\u3054\u7d39\u4ecb<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5],"tags":[],"class_list":["post-3246","post","type-post","status-publish","format-standard","hentry","category-r"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/posts\/3246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/comments?post=3246"}],"version-history":[{"count":3,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/posts\/3246\/revisions"}],"predecessor-version":[{"id":3250,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/posts\/3246\/revisions\/3250"}],"wp:attachment":[{"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/media?parent=3246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/categories?post=3246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/tags?post=3246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}