Spring 2018 R Open Lab: Character Strings

Feb 28 For this week, the topic we discussed is character strings in R. This lab’s content is a steppingstone for text  analysis.  We started with introducing the concept of characters, character strings, and character string vectors in R. Then, we talked about operations on strings such as getting substring and combining different character strings. […]

Read More…

R Open Lab – Merge and Filter Data

During the first 20-30 minutes of yesterday’s open lab, we talked about how to merge datasets and filter data using base R and dplyr package. The rest of the open lab were free discussions between participants and instructors. Thank you to all who showed up! Welcome to explore the materials I used for the open lab: https://drive.google.com/open?id=0B4uO8w_uGtsCWjRId0p6QllKZlE Enjoy the spring! […]

Read More…

R Open Lab – ggplot

Data visualization is an integral part of data exploration and presentation. Yesterday, we talked about ggplot2, a package which provides a mature and consistent system for plotting in R. We explored the advantage and disadvantages of ggplot2, the syntax and usage of the package. As always, thank you to everyone who showed up. Materials I […]

Read More…

R Open Labs – readr Package

Today we introduced readr package. It is a package used for reading csv/xls/txt etc. data. It is designed to flexibly parse many types of data found in the wild, while still cleanly failing when data unexpectedly changes.  We covered the functionality of the package and the difference between this package and base R. Next week we will talk […]

Read More…