<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>potisan</author_name>
  <author_url>https://blog.hatena.ne.jp/potisan/</author_url>
  <blog_title>potisanのプログラミングメモ</blog_title>
  <blog_url>https://potisan-programming-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>R</anon>
    <anon>tidyverse</anon>
  </categories>
  <description>tidyverseで使われるmutate(across(...))形式の書き方のメモです。調べながらのメモなので間違えも含む可能性があります。 mutate(X1=..., X2=...)とmutate(across(...)) 列指定とacross(...)で列名を変数で指定する。 across(...)で列を位置指定する。 across(...)と選択ヘルパを組み合わせる。 mutate(X1=..., X2=...)とmutate(across(...)) mutate()関数には列とacross(...)を指定できます。列を指定した場合はある名前の単一列、across(...)を指定し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2026%2F05%2F25%2F003845&quot; title=&quot;R tibbleのmutate列指定とacross(...)指定メモ - potisanのプログラミングメモ&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>2026-05-25 00:38:45</published>
  <title>R tibbleのmutate列指定とacross(...)指定メモ</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2026/05/25/003845</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
