This week we had a guest speaker, Jeff White from IT, who discussed accessing the Kamiak High Performance Computer on campus (slides can be found here). We also discussed creating .csv files and getting that data into R. Kamiak is a computer may be accessed by any student with an approved access. Access can be […]
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 […]
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 […]
Today Alli showed us some basic mean comparison statistics using base R, as well as one way to re-sample data using the “replicate” command and some for loops. Script: basic-stats-and-resampling
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 […]
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
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 […]
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 […]
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 […]
This week we discussed how we bring in data, forms of data, good sources for help, and some packages that pull in publicly available data. First of all, we talked about R Studio (https://www.rstudio.com/). R Studio is a great interface for using R and in addition it allows for some “point and click” methods of […]