All posts

  1. 🔗Colorado: Hex Plots, APIs, and D3js

    After my last blogpost I was a little frustrated at how poorly the title text resized using ggplot and ggsave. It was a minor issue to be honest, but I figured I could learn something new by exporting the data as geojson and plotting it using D3 js. So here it goes.

  2. 🔗Colorado: Hex Plots, API packages, and R

    image

    I've been seeing a lot of hex plots made with r. They are a way to semi-artistically visualize spatial data. Although I don't think this is completely appropriate for most visualizations, it looks amazing. Here are a few examples of how I made hex plots in R.

  3. 🔗Spatially Balanced Sample Designs in R with `spsurvey::grts()`

    We've been using spatially balanced stratified study designs more frequently at work these days. They are a good way to make probabilistic inference over large areas. A popular method of creating these designs is using the R function spsurvey::grts(). The following is a basic (very basic) explainer of how to get up and running with grts() function and what it is. But a bit about GRTS and spatially balanced study design before we get coding.

  4. 🔗Statistics in R: Resources for Understanding Statistics in R

    This is a collections of resources that have helped me learn and understand statistics in R.

  5. 🔗Kernel Density Estimation in R

    For a recent project I needed to run a kernel density estimation in R, turning GPS points into a raster of point densities. Below is how I accomplished that.

  6. 🔗Helpful Wordpress Snippets

    Some helpful Wordpress snippets that I am always looking up.