Articles by Higher Order Functions

Ridgelines in bayesplot 1.5.0

April 2, 2018 | Higher Order Functions

At the end of March, Jonah Gabry and I released bayesplot 1.5.0. The major additions to the package were visualizations using ridgelines and a new plot for PIT diagnostics from LOO validation. I don’t know what that LOO PIT thing is yet, so I’ll ta...
[Read more...]

Simplifying ggplot2 code by doing nothing

October 10, 2017 | Higher Order Functions

Recently, I joined the development team for bayesplot, an R package by the Stan team for plotting Bayesian models. Because visualizing Bayesian models in ggplot2 is a recurring topic here, it was a natural fit. So from time to time, I’ll post about some programming techniques and new features ...
[Read more...]

A tour of the tibble package

July 9, 2017 | Higher Order Functions

Dataframes are used in R to hold tabular data. Think of the prototypical spreadsheet or database table: a grid of data arranged into rows and columns. That’s a dataframe. The tibble R package provides a fresh take on dataframes to fix some longstan... [Read more...]

Repeatedly applying a function

January 11, 2017 | Higher Order Functions

A colleague of mine sent me the following R question: I have a function that takes a list and does some stuff to it and then returns it. I then take that output and run it through the same function again. But I obviously don’t want to repeatedly ...
[Read more...]

Recent adventures with lazyeval

August 14, 2016 | Higher Order Functions

The lazyeval package is a tool-set for performing nonstandard evaluation in R. Nonstandard evaluation refers to any situation where something special happens with how user input or code is evaluated. For example, the library function doesn’t evalua...
[Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)