<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chito_ng</author_name>
  <author_url>https://blog.hatena.ne.jp/chito_ng/</author_url>
  <blog_title>まずは蝋の翼から。</blog_title>
  <blog_url>https://knknkn.hatenablog.com/</blog_url>
  <categories>
    <anon>R</anon>
    <anon>使い方メモ(不便解決)</anon>
    <anon>可視化</anon>
  </categories>
  <description>数値で並び替える場合 以下のようなグラフで考える。 library(tidyverse) data(diamonds) # データ作成 df = diamonds %&gt;% group_by(clarity, cut) %&gt;% summarise(n = n()) %&gt;% ungroup() # わかりやすいものだけ抽出 df_filtered = df %&gt;% filter(clarity %in% c('SI2', 'VVS2', 'IF')) # clarityの標準の順番 df_filtered %&gt;% ggplot(aes(n, cut, fill = clarity)) + geom…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fknknkn.hatenablog.com%2Fentry%2F2020%2F06%2F20%2F185917&quot; title=&quot;ggplotで他の変数を基準に並び替える - まずは蝋の翼から。&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/chito_ng/20200620/20200620180711.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-06-20 18:59:17</published>
  <title>ggplotで他の変数を基準に並び替える</title>
  <type>rich</type>
  <url>https://knknkn.hatenablog.com/entry/2020/06/20/185917</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
