<?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>
    <anon>懺悔</anon>
  </categories>
  <description>懺悔です。 今まで私はある列の最小値を含む行を抽出する際、filter()を用いて以下のように書いていました。 library(dplyr) iris %&gt;% filter(Sepal.Length == min(Sepal.Length)) しかしbaseの書き方であればwhich.min()を使って以下のように書けます。 iris[which.min(iris$Sepal.Length), ] dplyrでもwhich.minしたいな〜でもfilterにはTRUE/FALSEを返す関数しか指定できないしな〜とか独り合点していたわけです。 ですが、dplyrには行番号を入力にとるslice(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdichika.hateblo.jp%2Fentry%2F2019%2F02%2F04%2F144333&quot; title=&quot;本日の懺悔：dplyrでsliceをもっと活用しようね - 盆栽日記&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>2019-02-04 14:43:33</published>
  <title>本日の懺悔：dplyrでsliceをもっと活用しようね</title>
  <type>rich</type>
  <url>https://dichika.hateblo.jp/entry/2019/02/04/144333</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
