<?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>
    <anon>R</anon>
  </categories>
  <description>geom_lineするとき、NAが入っているとそこで線が途切れてしまう。 library(&quot;ggplot2&quot;) smp &lt;- data.frame(x = 1:5, y = c(1:3, NA, 5)) ggplot(smp, aes(x = x, y = y, group = 1)) + geom_line() + geom_point() あらかじめNAを除いておけば、線をつないでくれる。 ggplot(subset(smp, !is.na(y)), aes(x = x, y = y, group = 1)) + geom_line() + geom_point() なんだか毎回やり方を調…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdichika.hateblo.jp%2Fentry%2F20160317%2Fp1&quot; title=&quot; ggplot2でgeom_lineする時にNAを無視して線をつなぐ - 盆栽日記&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/d/dichika/20160317/20160317074846.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-03-17 00:00:00</published>
  <title> ggplot2でgeom_lineする時にNAを無視して線をつなぐ</title>
  <type>rich</type>
  <url>https://dichika.hateblo.jp/entry/20160317/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
