<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chito_ng</author_name>
  <author_url>https://blog.hatena.ne.jp/chito_ng/</author_url>
  <blog_title>まずは蝋の翼から。</blog_title>
  <blog_url>https://knknkn.hatenablog.com/</blog_url>
  <categories>
    <anon>R</anon>
    <anon>使い方メモ(不便解決)</anon>
  </categories>
  <description>やりたいこと mutateでは、関数を以下のように適用を適用することができる。 library(tidyverse) iris %&gt;% group_by(Species) %&gt;% mutate(Sepal.Length_lag2 = lag(Sepal.Length,2)) # Sepal.Length Sepal.Width Petal.Length Petal.Width Species Sepal.Length_lag2 # &lt;dbl&gt; &lt;dbl&gt; &lt;dbl&gt; &lt;dbl&gt; &lt;fct&gt; &lt;dbl&gt; # 1 5.1 3.5 1.4 0.2 setosa NA # 2 4.9 3 1.4 0.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fknknkn.hatenablog.com%2Fentry%2F2020%2F06%2F23%2F113455&quot; title=&quot;mutate_atで引数付き関数を使う - まずは蝋の翼から。&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-06-23 11:34:55</published>
  <title>mutate_atで引数付き関数を使う</title>
  <type>rich</type>
  <url>https://knknkn.hatenablog.com/entry/2020/06/23/113455</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
