A collection of useful function that I use in my day-to-day work. As a library, the functions are quite diverse, ranging from DataFrame wrangling to MCMC conversions.
stan2coda()
Converts a MCMC chain resulting from a .stan
model into a coda object.country_plot()
Plots a country using a colour scheme suitable for countries and oceans.pretty_df()
Prints a DataFrame in an Rmarkdown using Twitter's subjectively aesthetic Bootstrap theme.detach_package()
Removes a previously loaded library from the environment.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.