<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Purrr on E. Visel</title>
    <link>/tags/purrr/</link>
    <description>Recent content in Purrr on E. Visel</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 20 Jan 2019 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="/tags/purrr/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Mapping leaves</title>
      <link>/blog/recursion/</link>
      <pubDate>Sun, 20 Jan 2019 00:00:00 +0000</pubDate>
      
      <guid>/blog/recursion/</guid>
      <description>at_depth I love purrr.1 Aside from its anonymous function notation, one of the functions that made me love the package was at_depth, which iterates across a list at a specified level of nesting. It has since been deprecated in favor of modify_depth, which is more powerful, but is significantly more finicky.
The additional power is because the .depth parameter can now be passed a negative integer to index up from the bottom of the list.</description>
    </item>
    
    <item>
      <title>Anonymous Functions, Not Variables</title>
      <link>/blog/anonymous-functions/</link>
      <pubDate>Sun, 25 Mar 2018 00:00:00 +0000</pubDate>
      
      <guid>/blog/anonymous-functions/</guid>
      <description>I am a very heavy purrr user. The killer feature is clearly map_df (fairly recently rebranded as map_dfr and map_dfc for row and column binding, respectively) to iterate over a list à la lapply and simplify the result to a data frame. Thanks to the power of dplyr::bind_rows, it fixes all the drawbacks of sapply’s simplify2array behavior:
 It returns a data frame, not a matrix or array, so multiple types can be kept.</description>
    </item>
    
  </channel>
</rss>