<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lesamoureuses</author_name>
  <author_url>https://blog.hatena.ne.jp/lesamoureuses/</author_url>
  <blog_title>こんにちはこんにちはmonmonです！</blog_title>
  <blog_url>https://monmon.hateblo.jp/</blog_url>
  <categories>
    <anon>R</anon>
  </categories>
  <description>母集団がこんな感じで population &lt;- data.frame(id=c(1, 2, 3), data=c('a', 'b', 'c')) id data 1 1 a 2 2 b 3 3 c 除きたいのがこんな感じのとき except &lt;- data.frame(id=c(2), data=c('b')) id data 1 2 b で、こんな感じで!とinを使えばいいです population[!(population$id %in% except$id),,drop=FALSE] id data 1 1 a 3 3 c 覚えておいた方がいいのは「drop=FALSE」の部分で、これ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmonmon.hateblo.jp%2Fentry%2F20121126%2F1353923298&quot; title=&quot;Rである母集団のdata.frameから除きたい集団data.frameがあって、その結果が欲しいとき - こんにちはこんにちはmonmonです！&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>2012-11-26 18:48:18</published>
  <title>Rである母集団のdata.frameから除きたい集団data.frameがあって、その結果が欲しいとき</title>
  <type>rich</type>
  <url>https://monmon.hateblo.jp/entry/20121126/1353923298</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
