-
By Ben Leonard What is Data Wrangling? Most of the time datasets will not come "out of the box" ready to use for analysis. Summarizing data and presenting audience friendly tables and figures requires quite a bit of data manipulation. A data wrangling task is performed anytime a dataset is cleaned, tweaked, …
Read More -
By Matt Brousil This week I'm going to walk through some examples of applying functions to every item in one (or more) lists. Basically this gives an overview answering the question: "If I have a list of data, how do I loop through that list manipulating and running analyses on its data without using for() …
Read More -
This walkthrough will cover some advanced ways of working with ggplot2. There are a lot of functions and plotting options available in ggplot2, but here I'll be showing a couple of examples of ways to extend your ggplot2 usage with additional packages. This post is less about mind-blowing images as it is useful ways to …
Read More -
Mapping in R
Apr 30, 2018 · 10 min read · cowplot grid mapping mapview sf spatial data spData spDataLarge tidyverse tmap ·Post by Dominik Schneider A couple things to note. Spatial/gis functions in R are undergoing a massive change right now. The old stalwart sp has been succeeded by sf (simple features), which is compatible with the open geospatial consortium standards. When you are looking for solutions online, make sure you know which …
Read More -
Today we introduced the R packages 'dplyr' and 'ggplot2'. We only had time for a few brief demos, but these packages are very powerful and you may be using them quite a bit! More about dplyr dplyr is useful for manipulating data. Most of the time you'll be using one of 5 main functions: filter(): subsets rows based on …
Read More