<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dichika</author_name>
  <author_url>https://blog.hatena.ne.jp/dichika/</author_url>
  <blog_title>盆栽日記</blog_title>
  <blog_url>https://dichika.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>geom_line()で折れ線プロットを描いた後、geom_smooth()して平滑化することなどが多々ある。 で、その平滑化した結果から例えばピーク検出したい場合もあったりするが、その際、描画結果のデータが欲しくなる。 もちろん、geom_smooth()で用いた平滑化の手法（gamとかloessとか）を使えばいいんだが面倒くさい。 そんなときはggplot_build()を用いる。 使い方については↓を参照。 stackoverflow.com</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdichika.hateblo.jp%2Fentry%2F2020%2F10%2F20%2F173657&quot; title=&quot;ggplot2の描画データを取り出したいときはggplot_build() - 盆栽日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-10-20 17:36:57</published>
  <title>ggplot2の描画データを取り出したいときはggplot_build()</title>
  <type>rich</type>
  <url>https://dichika.hateblo.jp/entry/2020/10/20/173657</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
