<?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 の続きです。 今回はbarplot関数の練習をしてみようと思います。 習うより慣れろの精神でいろいろやってみます。 まずはデータを確認します。 １列目は文字(ファクター)で、２、３、４列目が数値データですね。 まずは、barplot(df)としてみます。 エラーになりました。'height'はベクトルか行列でなければなりません。とのことです。 それでは、1列目を削除して行列にしてからbarplot関数をやってみます。 1行目、mx &lt;- df[ , -1] で1列目のSourceを除いたデータフレームをつくり、それを2行目のas.matrix関数で行列にし…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2019%2F11%2F23%2F122009&quot; title=&quot;内閣支持率のデータ分析２ - R言語のbarplot関数の練習。beside = TRUE/FALSE とlegend.text = TRUEが大事 - 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/20191123/20191123114804.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-23 12:20:09</published>
  <title>内閣支持率のデータ分析２ - R言語のbarplot関数の練習。beside = TRUE/FALSE とlegend.text = TRUEが大事</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2019/11/23/122009</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
