<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>niszet</author_name>
  <author_url>https://blog.hatena.ne.jp/niszet/</author_url>
  <blog_title>niszetの日記</blog_title>
  <blog_url>https://niszet.hatenablog.com/</blog_url>
  <categories>
    <anon>R</anon>
  </categories>
  <description>昨日のTokyoRの一次会でちょっと話したやつ View()で見ていくとき、layersに入っているレイヤーオブジェクトには名前がなく、[[1]]とか[[2]]とかそっけない。そして複数のレイヤーを重ねた場合にはどれがどれかわからん…！となりそう。 じゃあレイヤーに名前つけてみるかぁという気持ちをRで書くとこんな感じかな。 # データの準備。これは例のkazutanさんの記事からの引用。 library(ggplot2) g_null &lt;- ggplot() geom_point_iris &lt;- geom_point(data = iris, mapping = aes(x = Sepal.L…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fniszet.hatenablog.com%2Fentry%2F2018%2F03%2F05%2F073000&quot; title=&quot;(R) ggplot2の gg, ggplot オブジェクトに格納されているlayersは名前を持っていてほしい - niszetの日記&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/n/niszet/20180304/20180304201804.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-03-05 07:30:00</published>
  <title>(R) ggplot2の gg, ggplot オブジェクトに格納されているlayersは名前を持っていてほしい</title>
  <type>rich</type>
  <url>https://niszet.hatenablog.com/entry/2018/03/05/073000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
