{"id":4513,"date":"2025-12-31T15:24:25","date_gmt":"2025-12-31T06:24:25","guid":{"rendered":"https:\/\/best-biostatistics.com\/toukei-er\/?p=4513"},"modified":"2026-01-01T09:49:10","modified_gmt":"2026-01-01T00:49:10","slug":"how-to-add-text-to-ggplot2-plots-practical-code-and-usage-by-purpose","status":"publish","type":"post","link":"https:\/\/best-biostatistics.com\/toukei-er\/entry\/how-to-add-text-to-ggplot2-plots-practical-code-and-usage-by-purpose\/","title":{"rendered":"ggplot2\u306e\u56f3\u306b\u30c6\u30ad\u30b9\u30c8\u3092\u66f8\u304d\u5165\u308c\u308b\u65b9\u6cd5\uff1a\u76ee\u7684\u5225\u306e\u4f7f\u3044\u5206\u3051\u3068\u5b9f\u8df5\u30b3\u30fc\u30c9"},"content":{"rendered":"\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>R\u306e<code>ggplot2<\/code>\u3092\u4f7f\u3063\u3066\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3057\u3066\u3044\u308b\u969b\u3001\u300c\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u70b9\u306b\u540d\u524d\u3092\u5165\u308c\u305f\u3044\u300d\u300c\u30b0\u30e9\u30d5\u306e\u4f59\u767d\u306b\u88dc\u8db3\u8aac\u660e\u3092\u8ffd\u52a0\u3057\u305f\u3044\u300d\u3068\u8003\u3048\u305f\u3053\u3068\u306f\u306a\u3044\u3060\u308d\u3046\u304b\u3002<\/p>\n\n\n\n<p>\u30b0\u30e9\u30d5\u306f\u8996\u899a\u7684\u306b\u30c8\u30ec\u30f3\u30c9\u3092\u4f1d\u3048\u308b\u306e\u304c\u5f97\u610f\u3060\u304c\u3001<span class=\"swl-marker mark_orange\">\u300c\u8a00\u8449\uff08\u30c6\u30ad\u30b9\u30c8\uff09\u300d<\/span>\u3092\u6dfb\u3048\u308b\u3053\u3068\u3067\u3001\u8aad\u307f\u624b\u306e\u7406\u89e3\u5ea6\u306f\u98db\u8e8d\u7684\u306b\u9ad8\u307e\u308b\u3002\u3057\u304b\u3057\u3001ggplot2\u306b\u306f\u30c6\u30ad\u30b9\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u304c\u8907\u6570\u3042\u308a\u3001\u521d\u5fc3\u8005\u306b\u3068\u3063\u3066\u306f\u3069\u308c\u3092\u9078\u629e\u3059\u3079\u304d\u304b\u8ff7\u3044\u3084\u3059\u3044\u3002<\/p>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001<code>annotate()<\/code> \u3084 <code>geom_text()<\/code> \u306e\u4f7f\u3044\u5206\u3051\u304b\u3089\u3001\u5b9f\u6226\u3067\u5f79\u7acb\u3064\u56de\u5e30\u5f0f\u306e\u8868\u793a\u65b9\u6cd5\u307e\u3067\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3059\u308b\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">ggplot2\u3068\u306f<\/h2>\n\n\n\n<p><code>ggplot2<\/code>\u306f\u3001R\u8a00\u8a9e\u3067\u6700\u3082\u5e83\u304f\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u53ef\u8996\u5316\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3042\u308b\u3002\u300cGrammar of Graphics\uff08\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u306e\u6587\u6cd5\uff09\u300d\u3068\u3044\u3046\u601d\u60f3\u306b\u57fa\u3065\u3044\u3066\u304a\u308a\u3001\u56f3\u5f62\u3084\u8ef8\u3001\u8272\u3001\u30c6\u30ad\u30b9\u30c8\u306a\u3069\u306e\u8981\u7d20\u3092<span class=\"swl-marker mark_orange\">\u300c\u30ec\u30a4\u30e4\u30fc\uff08\u5c64\uff09\u300d<\/span>\u3068\u3057\u3066\u7a4d\u307f\u91cd\u306d\u3066\u3044\u304f\u306e\u304c\u7279\u5fb4\u3060\u3002<\/p>\n\n\n\n<p>\u30c6\u30ad\u30b9\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u3082\u3001\u65b0\u3057\u3044\u30ec\u30a4\u30e4\u30fc\u3092\u4e00\u679a\u91cd\u306d\u308b\u3068\u3044\u3046\u611f\u899a\u3067\u64cd\u4f5c\u3059\u308b\u305f\u3081\u3001\u6163\u308c\u3066\u3057\u307e\u3048\u3070\u975e\u5e38\u306b\u81ea\u7531\u5ea6\u306e\u9ad8\u3044\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u53ef\u80fd\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">ggplot2\u306e\u56f3\u306b\u30c6\u30ad\u30b9\u30c8\u3092\u66f8\u304d\u5165\u308c\u308bR\u30b9\u30af\u30ea\u30d7\u30c8\u4f8b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u2460 \u7279\u5b9a\u306e\u5834\u6240\u306b\u6ce8\u91c8\u3092\u5165\u308c\u308b\uff08<code>annotate<\/code>\uff09<\/h3>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306b\u542b\u307e\u308c\u306a\u3044\u72ec\u7acb\u3057\u305f\u6587\u5b57\u3092\u5165\u308c\u305f\u3044\u5834\u5408\u306f <code>annotate()<\/code> \u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>library(ggplot2)\n\n# \u30d9\u30fc\u30b9\u306e\u56f3\np &lt;- ggplot(mtcars, aes(wt, mpg)) + geom_point()\n\n# \u7279\u5b9a\u306e\u5ea7\u6a19\u306b\u30c6\u30ad\u30b9\u30c8\u3092\u8ffd\u52a0\np + annotate(\"text\", x = 4, y = 30, label = \"\u3053\u3053\u306b\u6ce8\u76ee\uff01\", \n             color = \"red\", size = 5, fontface = \"bold\")\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"963\" height=\"709\" src=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-10.png\" alt=\"\" class=\"wp-image-4514\" srcset=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-10.png 963w, https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-10-300x221.png 300w, https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-10-768x565.png 768w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011\u5ea7\u6a19\u6307\u5b9a\u306e\u30b3\u30c4<\/h4>\n\n\n\n<p><code>annotate()<\/code> \u306e <code>x<\/code> \u3068 <code>y<\/code> \u306f\u3001<span class=\"swl-marker mark_orange\">\u300c\u30b0\u30e9\u30d5\u306e\u8ef8\u306e\u30e1\u30e2\u30ea\uff08\u6570\u5024\uff09\u300d<\/span>\u3092\u305d\u306e\u307e\u307e\u6307\u5b9a\u3059\u308c\u3070\u3088\u3044\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>x\u5ea7\u6a19<\/strong>: \u6a2a\u8ef8\u306e\u6570\u5024\u3002<\/li>\n\n\n\n<li><strong>y\u5ea7\u6a19<\/strong>: \u7e26\u8ef8\u306e\u6570\u5024\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u6a2a\u8ef8\u304c\u300c4\u300d\u3001\u7e26\u8ef8\u304c\u300c30\u300d\u306e\u5730\u70b9\u306b\u6587\u5b57\u3092\u7f6e\u304d\u305f\u3044\u306a\u3089\u3001<code>x = 4, y = 30<\/code> \u3068\u8a18\u8ff0\u3059\u308b\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Tips<\/strong>: \u6587\u5b57\u306e\u914d\u7f6e\u3092\u5fae\u8abf\u6574\u3059\u308b<\/p>\n\n\n\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u6307\u5b9a\u3057\u305f\u5ea7\u6a19\u306b\u6587\u5b57\u306e\u300c\u4e2d\u5fc3\u300d\u304c\u91cd\u306a\u308b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>hjust = 0<\/code>: \u5de6\u63c3\u3048\uff08\u6307\u5b9a\u5ea7\u6a19\u304b\u3089\u53f3\u306b\u4f38\u3073\u308b\uff09<\/li>\n\n\n\n<li><code>vjust = 1<\/code>: \u4e0a\u63c3\u3048\uff08\u6307\u5b9a\u5ea7\u6a19\u304b\u3089\u4e0b\u306b\u4f38\u3073\u308b\uff09<\/li>\n<\/ul>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u2461 \u5168\u3066\u306e\u30c7\u30fc\u30bf\u70b9\u306b\u30e9\u30d9\u30eb\u3092\u4ed8\u3051\u308b\uff08<code>geom_text<\/code>\uff09<\/h3>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u5185\u306e\u5909\u6570\uff08\u5217\uff09\u3092\u305d\u306e\u307e\u307e\u30e9\u30d9\u30eb\u3068\u3057\u3066\u8868\u793a\u3059\u308b\u65b9\u6cd5\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u8eca\u7a2e\u540d\uff08row names\uff09\u3092\u30e9\u30d9\u30eb\u3068\u3057\u3066\u8868\u793a\nggplot(mtcars, aes(wt, mpg)) +\n  geom_point() +\n  geom_text(aes(label = rownames(mtcars)), vjust = -1, size = 3)\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"963\" height=\"709\" src=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-11.png\" alt=\"\" class=\"wp-image-4515\" srcset=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-11.png 963w, https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-11-300x221.png 300w, https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-11-768x565.png 768w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u2462 \u6587\u5b57\u306e\u91cd\u306a\u308a\u3092\u81ea\u52d5\u3067\u9632\u3050\uff08<code>ggrepel<\/code>\uff09<\/h3>\n\n\n\n<p>\u30c7\u30fc\u30bf\u70b9\u304c\u591a\u3044\u3068\u30e9\u30d9\u30eb\u304c\u91cd\u306a\u3063\u3066\u8aad\u3081\u306a\u304f\u306a\u308b\u3002\u305d\u306e\u89e3\u6c7a\u7b56\u3068\u3057\u3066\u975e\u5e38\u306b\u5f37\u529b\u306a\u306e\u304c <code>ggrepel<\/code> \u30d1\u30c3\u30b1\u30fc\u30b8\u3060\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># install.packages(\"ggrepel\")\nlibrary(ggrepel)\n\nggplot(mtcars, aes(wt, mpg)) +\n  geom_point() +\n  # \u6587\u5b57\u306e\u91cd\u306a\u308a\u3092\u81ea\u52d5\u3067\u56de\u907f\n  geom_text_repel(aes(label = rownames(mtcars)), size = 3)\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"963\" height=\"709\" src=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-12.png\" alt=\"\" class=\"wp-image-4516\" srcset=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-12.png 963w, https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-12-300x221.png 300w, https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-12-768x565.png 768w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u2463 \u5fdc\u7528\u7de8\uff1a\u56de\u5e30\u76f4\u7dda\u306e\u5f0f\u3092\u56f3\u306b\u66f8\u304d\u5165\u308c\u308b<\/h3>\n\n\n\n<p>\u6563\u5e03\u56f3\u306b\u56de\u5e30\u76f4\u7dda\uff08\u50be\u5411\u7dda\uff09\u3092\u5f15\u3044\u305f\u969b\u3001\u305d\u306e\u300c\u5f0f\u300d\u3084\u300c\u6c7a\u5b9a\u4fc2\u6570\uff08$R^2$\uff09\u300d\u3092\u8868\u793a\u3057\u305f\u3044\u5834\u9762\u306f\u975e\u5e38\u306b\u591a\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># 1. \u56de\u5e30\u30e2\u30c7\u30eb\u3092\u4f5c\u6210\nmodel &lt;- lm(mpg ~ wt, data = mtcars)\n\n# 2. \u4fc2\u6570\u3092\u62bd\u51fa\u3057\u3066\u30c6\u30ad\u30b9\u30c8\u3092\u4f5c\u6210\nformula_text &lt;- sprintf(\"y = %.2fx + %.2f\", coef(model)&#91;2], coef(model)&#91;1])\nr2_text &lt;- sprintf(\"R^2 = %.2f\", summary(model)$r.squared)\nfull_label &lt;- paste(formula_text, r2_text, sep = \"\\n\")\n\n# 3. \u30b0\u30e9\u30d5\u306b\u63cf\u753b\nggplot(mtcars, aes(x = wt, y = mpg)) +\n  geom_point() +\n  geom_smooth(method = \"lm\", se = FALSE, color = \"blue\") + \n  annotate(\"text\", x = 5, y = 30, label = full_label, \n           color = \"blue\", size = 5, hjust = 0.5)\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"963\" height=\"709\" src=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-13.png\" alt=\"\" class=\"wp-image-4517\" srcset=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-13.png 963w, https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-13-300x221.png 300w, https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-13-768x565.png 768w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div id=\"biost-3846410562\" 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\">\u4f7f\u3044\u6240\uff1a\u3044\u3064\u3001\u3069\u306e\u95a2\u6570\u3092\u4f7f\u3046\u3079\u304d\u304b\uff1f<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u624b\u6cd5<\/strong><\/td><td><strong>\u4e3b\u306a\u7528\u9014<\/strong><\/td><td><strong>\u7279\u5fb4<\/strong><\/td><\/tr><\/thead><tbody><tr><td><strong><code>annotate()<\/code><\/strong><\/td><td>\u56f3\u5168\u4f53\u306e\u88dc\u8db3\u3001\u56de\u5e30\u5f0f\u3001\u77e2\u5370<\/td><td>\u5ea7\u6a19\u3092\u76f4\u63a5\u6307\u5b9a\u30021\u301c\u6570\u7b87\u6240\u306e\u6ce8\u91c8\u306b\u6700\u9069\u3002<\/td><\/tr><tr><td><strong><code>geom_text()<\/code><\/strong><\/td><td>\u5168\u30c7\u30fc\u30bf\u70b9\u306e\u30e9\u30d9\u30eb\u8868\u793a<\/td><td>\u30c7\u30fc\u30bf\u3068\u9023\u52d5\u3002\u6570\u304c\u591a\u3044\u3068\u91cd\u306a\u308a\u3084\u3059\u3044\u3002<\/td><\/tr><tr><td><strong><code>ggrepel<\/code><\/strong><\/td><td>\u5bc6\u96c6\u3057\u305f\u30c7\u30fc\u30bf\u306e\u30e9\u30d9\u30ea\u30f3\u30b0<\/td><td>\u91cd\u306a\u308a\u3092\u81ea\u52d5\u56de\u907f\u3002\u8ad6\u6587\u3084\u30ec\u30dd\u30fc\u30c8\u3067\u5fc5\u9808\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">ggplot2\u306e\u56f3\u306b\u30c6\u30ad\u30b9\u30c8\u3092\u66f8\u304d\u5165\u308c\u308b\u6642\u306e\u9650\u754c<\/h2>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>\u5ea7\u6a19\u7ba1\u7406\u306e\u7169\u308f\u3057\u3055<\/strong>: \u30c7\u30fc\u30bf\u306e\u7bc4\u56f2\u304c\u5909\u308f\u308b\u3068\u3001\u56fa\u5b9a\u5ea7\u6a19\u3067\u6307\u5b9a\u3057\u305f\u30c6\u30ad\u30b9\u30c8\u304c\u56f3\u306e\u5916\u306b\u6d88\u3048\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308b\u3002<\/li>\n\n\n\n<li><strong>\u60c5\u5831\u904e\u591a<\/strong>: \u6587\u5b57\u3092\u5165\u308c\u3059\u304e\u308b\u3068\u3001\u30c7\u30fc\u30bf\u306e\u30c8\u30ec\u30f3\u30c9\u3092\u963b\u5bb3\u3057\u3066\u3057\u307e\u3046\u3002\u300c\u672c\u5f53\u306b\u5fc5\u8981\u306a\u60c5\u5831\u304b\u300d\u3092\u5e38\u306b\u610f\u8b58\u3059\u3079\u304d\u3060\u3002<\/li>\n\n\n\n<li><strong>\u65e5\u672c\u8a9e\u30d5\u30a9\u30f3\u30c8\u306e\u554f\u984c<\/strong>: OS\u7b49\u306e\u74b0\u5883\u306b\u3088\u3063\u3066\u6587\u5b57\u5316\u3051\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u3002\u305d\u306e\u5834\u5408\u306f <code>theme(text = element_text(family = \"Hiragino Sans\"))<\/code> \u7b49\u306e\u6307\u5b9a\u304c\u5fc5\u8981\u306b\u306a\u308b\u3002<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>ggplot2\u3067\u30c6\u30ad\u30b9\u30c8\u3092\u5165\u308c\u308b\u969b\u306f\u3001<strong>\u5358\u306a\u308b\u88dc\u8db3\u306a\u3089 <code>annotate()<\/code><\/strong>\u3001<strong>\u30c7\u30fc\u30bf\u306e\u5185\u5bb9\u3092\u8868\u793a\u3059\u308b\u306a\u3089 <code>geom_text()<\/code><\/strong>\u3001<strong>\u91cd\u306a\u308a\u304c\u6c17\u306b\u306a\u308b\u306a\u3089 <code>ggrepel<\/code><\/strong> \u3068\u3044\u3046\u4f7f\u3044\u5206\u3051\u304c\u57fa\u672c\u3068\u306a\u308b\u3002<\/p>\n\n\n\n<p>\u8aac\u5f97\u529b\u306e\u3042\u308b\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3057\u3001\u30c7\u30fc\u30bf\u5206\u6790\u306e\u7d50\u679c\u3092\u3088\u308a\u660e\u78ba\u306b\u4f1d\u3048\u3066\u3044\u3053\u3046\u3002<\/p>\n\n\n\n\n\n\n\n<h2 class=\"wp-block-heading\">\u304a\u3059\u3059\u3081\u66f8\u7c4d<\/h2>\n\n\n\n<p><a href=\"https:\/\/amzn.to\/3N0QQEC\">\u8ab0\u3082\u6559\u3048\u3066\u304f\u308c\u306a\u304b\u3063\u305f\u3000\u533b\u7642\u7d71\u8a08\u306e\u4f7f\u3044\u5206\u3051\u301c\u8ff7\u3044\u3084\u3059\u3044\u89e3\u6790\u624b\u6cd5\u306e\u9078\u3073\u65b9\u304c\uff0cR\u3067\u5b9f\u611f\u3057\u306a\u304c\u3089\u308f\u304b\u308b\uff01<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>R\u306eggplot2\u3092\u4f7f\u3063\u3066\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3057\u3066\u3044\u308b\u969b\u3001\u300c\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u70b9\u306b\u540d\u524d\u3092\u5165\u308c\u305f\u3044\u300d\u300c\u30b0\u30e9\u30d5\u306e\u4f59\u767d\u306b\u88dc\u8db3\u8aac\u660e\u3092\u8ffd\u52a0\u3057\u305f\u3044\u300d\u3068\u8003\u3048\u305f\u3053\u3068\u306f\u306a\u3044\u3060\u308d\u3046\u304b\u3002 \u30b0\u30e9\u30d5\u306f\u8996\u899a\u7684\u306b\u30c8\u30ec\u30f3\u30c9\u3092\u4f1d\u3048\u308b\u306e\u304c\u5f97\u610f\u3060\u304c\u3001\u300c\u8a00\u8449\uff08\u30c6\u30ad\u30b9\u30c8\uff09\u300d\u3092 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":4517,"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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[43],"tags":[],"class_list":["post-4513","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ggplot2"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2025\/12\/image-13.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/posts\/4513","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=4513"}],"version-history":[{"count":1,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/posts\/4513\/revisions"}],"predecessor-version":[{"id":4518,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/posts\/4513\/revisions\/4518"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/media\/4517"}],"wp:attachment":[{"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/media?parent=4513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/categories?post=4513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/tags?post=4513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}