Inverse Distance Weighting and Kriging in R

I posted a few months ago about a new R package I wrote with Filipe Matias-- it's available for download on GitHub. Last week we extended the GitHub tutorial to include interpolation methods and raster visualization/mapping example code. Spatially Challenged readers have asked me to write tutorials on these techniques before, but I had been… Continue reading Inverse Distance Weighting and Kriging in R

R Tutorial by Hasse Walum and Desirée de Leon

I came across this truly delightful introduction to R and summary statistics tutorial while reminding myself how to write functions in R. I was impressed by how Teacups, Giraffes, & Statistics covers R basics with clarity and specificity while being incredibly endearing. This was the first place I've seen interactive R windows on websites, and… Continue reading R Tutorial by Hasse Walum and DesirĂ©e de Leon

Averaging Plot Data in R– Updated Blog Post

Note: the below was originally written and published in January 2019. I edited the post for clarity and added a few notes on using the Tidyverse suite of packages to do summarize data in R, but you can still find the original here. Not an R user but need an efficient way to average plot… Continue reading Averaging Plot Data in R– Updated Blog Post

Data Structures in R

Before I learned R, I had previously only programmed in Matlab. Matlab and R have comparable options for data types and treat objects very similarly, but R, and specifically the Tidyverse, has this whole other vocabulary for data structures. Understanding the differences between matrices, data frames, and other data structures made learning R easier for… Continue reading Data Structures in R

Averaging Plot Data in R

In agronomy research, its very common to collect 10 plants from a single plot, take measurements on them, and average those measurements. The plot average is the value we run statistics on, whether that means building a regression or running an ANOVA. I've recently seen a lot of my fellow grad students averaging measurements by… Continue reading Averaging Plot Data in R

Project Files in RStudio

R is an excellent, if occasionally frustrating, tool. I'm assuming if you are an R user reading this post, you've already started using RStudio to improve your user experience. If not, go get RStudio here-- it color-codes your scripts, displays your objects and functions in the working environment, and has an integrated file browser. And… Continue reading Project Files in RStudio