<?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>今回は定期健康診断結果のデータを大きい順、小さい順に並び替えて棒グラフにしてみます。データの分布をざっと確認しましょう。 まずは、read.csv関数でcsvファイルに保存してあるデータを読込み、head関数で最初の6行を表示して、summary関数でデータのサマリーを表示します。 では、事業場数の大きい順に並び替えましょう。order関数です。 kenshin[order(kenshin$事業場数, decreasing = TRUE), ] で事業場数の大きい順に並びえて、head関数で始めの6行を表示して大きい順に表示しています。小さい順に表示するには、decreasing = FALS…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2018%2F07%2F17%2F142634&quot; title=&quot;定期健康診断結果の分析２ - 大きい順、小さい順に並び替えでグラフ化(order関数とbarplot関数) - 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/20180717/20180717133017.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-07-17 14:26:34</published>
  <title>定期健康診断結果の分析２ - 大きい順、小さい順に並び替えでグラフ化(order関数とbarplot関数)</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2018/07/17/142634</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
