{"url":"https://www.crosshyou.info/entry/2020/10/18/094302","author_url":"https://blog.hatena.ne.jp/cross_hyou/","provider_url":"https://hatena.blog","version":"1.0","type":"rich","published":"2020-10-18 09:43:02","blog_url":"https://www.crosshyou.info/","height":"190","provider_name":"Hatena Blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/c/cross_hyou/20201018/20201018091806.png","width":"100%","blog_title":"R\u3067\u4f55\u304b\u3092\u3057\u305f\u308a\u3001\u8aad\u66f8\u3092\u3059\u308b\u30d6\u30ed\u30b0","categories":["\u30c7\u30fc\u30bf\u5206\u6790"],"author_name":"cross_hyou","title":"\u8fb2\u6797\u6c34\u7523\u7269\u306e\u8f38\u51fa\u4e0a\u4f4d20\u54c1\u76ee\u306e\u30c7\u30fc\u30bf\u5206\u6790\uff15 - R\u8a00\u8a9e\u3067\u68d2\u30b0\u30e9\u30d5\u3092\u63cf\u304f(geom_col\u95a2\u6570)","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2020%2F10%2F18%2F094302\" title=\"\u8fb2\u6797\u6c34\u7523\u7269\u306e\u8f38\u51fa\u4e0a\u4f4d20\u54c1\u76ee\u306e\u30c7\u30fc\u30bf\u5206\u6790\uff15 - R\u8a00\u8a9e\u3067\u68d2\u30b0\u30e9\u30d5\u3092\u63cf\u304f(geom_col\u95a2\u6570) - R\u3067\u4f55\u304b\u3092\u3057\u305f\u308a\u3001\u8aad\u66f8\u3092\u3059\u308b\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"www.crosshyou.info \u306e\u7d9a\u304d\u3067\u3059\u3002 \u4eca\u56de\u306fR\u8a00\u8a9e\u306eggplot2\u30d1\u30c3\u30b1\u30fc\u30b8\u306egeom_col\u95a2\u6570\u3067\u68d2\u30b0\u30e9\u30d5\u3092\u63cf\u3044\u3066\u307f\u307e\u3059\u3002 filter(type == \"\u91d1\u984d\")\u3067\u91d1\u984d\u3060\u3051\u306b\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u3092\u7d5e\u308a\u8fbc\u307f\u307e\u3059\u3002 mutate(hinmoku = reorder(hinmoku, valu)) \u3067hinmoku\u3092value\u306e\u5024\u3067\u4e26\u3073\u5909\u3048\u307e\u3059\u3002 ggplot(aes(x = hinmoku, y = value)) \u3067x\u8ef8\u3092hinmoku, y\u8ef8\u3092value\u306b\u3057\u305fggplot\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 geom_col()\u3067\u68d2\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3057\u3001coord_flip()\u3067x\u8ef8\u3068y\u8ef8\u3092\u53cd\u8ee2\u3055\u2026"}