<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cross_hyou</author_name>
  <author_url>https://blog.hatena.ne.jp/cross_hyou/</author_url>
  <blog_title>Rで何かをしたり、読書をするブログ</blog_title>
  <blog_url>https://www.crosshyou.info/</blog_url>
  <categories>
    <anon>データ分析</anon>
  </categories>
  <description>www.crosshyou.info の続きです。 今回はR言語のggplot2パッケージのgeom_col関数で棒グラフを描いてみます。 filter(type == &quot;金額&quot;)で金額だけにデータフレームを絞り込みます。 mutate(hinmoku = reorder(hinmoku, valu)) でhinmokuをvalueの値で並び変えます。 ggplot(aes(x = hinmoku, y = value)) でx軸をhinmoku, y軸をvalueにしたggplotオブジェクトを作成します。 geom_col()で棒グラフを作成し、coord_flip()でx軸とy軸を反転さ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2020%2F10%2F18%2F094302&quot; title=&quot;農林水産物の輸出上位20品目のデータ分析５ - R言語で棒グラフを描く(geom_col関数) - Rで何かをしたり、読書をするブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/c/cross_hyou/20201018/20201018091806.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-10-18 09:43:02</published>
  <title>農林水産物の輸出上位20品目のデータ分析５ - R言語で棒グラフを描く(geom_col関数)</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2020/10/18/094302</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
