<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>quossy</author_name>
  <author_url>https://blog.hatena.ne.jp/quossy/</author_url>
  <blog_title>ねこすたっと</blog_title>
  <blog_url>https://necostat.hatenablog.jp/</blog_url>
  <categories>
    <anon>R</anon>
    <anon>iteration</anon>
  </categories>
  <description>do.call( )は関数名と引数のリストを渡して、その関数を呼び出して実行する関数です。 リストに対して一括処理をするとき、たまに登場するんですがイマイチ理解していなかったので整理のためにまとめます。 lapply( )とdo.call( )の違い 関数のオプション引数を渡す方法 do.call( )で環境を指定して呼び出す 関数を変数として渡す or 文字列として渡す リストを変数として渡す or 引用符をつけて渡す おわりに lapply( )とdo.call( )の違い 両方とも「関数とリストを渡して、一括で実行する関数」なので何となく似ている感じがしますが*1、実行している処理は異な…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnecostat.hatenablog.jp%2Fentry%2F2023%2F08%2F02%2F144038&quot; title=&quot;lapply関数とdo.call関数を整理する [R] - ねこすたっと&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/q/quossy/20230802/20230802130955.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-08-02 14:40:38</published>
  <title>lapply関数とdo.call関数を整理する [R]</title>
  <type>rich</type>
  <url>https://necostat.hatenablog.jp/entry/2023/08/02/144038</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
