High Resolution Graphics, Memory Issues, and WSU security

Today in our troubleshooting session we addressed exporting high resolution figures using R studio. Because R studio does not allow for a resolution increase we use coding that relies on some embedded R functionality, and works great for those that just us native R rather than R Studio. The script does not require any packages […]

Categories: R Working Group

Spring 2017 Intro and plotting/mapping with ggplot2!

Today was our first meeting of the Spring R group! We were playing catch up due to missing our first week (thanks ice storm) so we discussed the format of the working group as well as had a presentation about plotting/mapping using ggplot2. We talked about the presentation schedule, the types of presentations, and future […]

Categories: R Working Group

Atmospheric Research Profile

Today Tsengel demonstrated how she made interitive processes in her research to examine the distriubuton of various datasets. She used for loops as well as some specific packages to do this. In addition, we worked as a group to examine ways to recreate a figure Tsengel created in excel in ggplot. For Tsengel’s presentation today […]

Categories: R Working Group

Spatial Stats with spatstat

Today Michael showed us some quick and simple ways to look at and measure spatial data using the spat-stat packaged. Included in the discussion was information on various statistics one can use to measure aspects such as nearest neighbor or clustering. spatialstats

Categories: R Working Group

Mapping with Shapefiles and Thiessen polygon generation

Today Tung Nguyen presented some advanced mapping techniques. Today’s presentation used the following packages and a function from Stackoverflow (http://stackoverflow.com/questions/12156475/combine-voronoi-polygons-and-maps). He also used the attached shapefiles: r_base_shapefile Packages: “deldir”, “rgdal”, “sp”, “rgeos”, “maptools”, “gstat”, “mapview”, “ggplot2”, “ggmap”, “viridis”, “dplyr” Tung showed us how he created polygons for individual catchments basins and then apply those polygons to a google maps […]

Categories: R Working Group

Simple Mapping in R

Today we discussed using the “maps” package and the “ggplot2” package to make simple maps in R. Our test dataset is from the “rgbif” data package which makes use of publicly available data (see the “getting data” Topic). To deal with some of the georeferenced data we made use of the “dismo” package . We […]

Categories: R Working Group

Changing Data Layout – Dplyr and Reshape

This week we learned about changing the structure of and combining information from various datasheets. Michael showed us some of his data from colleagues which was not particularly clean and which needed reformatted in order to make a stacked bar chart. He used the two R packages “dplyr” and “reshape2” to reorganize the data so […]

Categories: R Working Group