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! […]
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 […]
Python Open Labs – Format Strings
Hi In the 15th session of Python Open Labs, this week we looked at some miscellaneous topics and revision of basic concepts of file reading and string handling from previous sessions. We also briefly looked into format strings / format specifiers for string construction in Python. The relevant slides are available on the Session – […]
R Open Labs – Apply Family
This Wednesday we talked about apply function family in base R. We covered apply(), tapply(), lapply(), sapply() and vapply(). We also briefly introduced the concept of factors in R. As always, thank you to all who showed up! Next two weeks’ R Open Lab will be cancelled due to midterm week and spring break. Good […]
Python Open Labs – Object Oriented Programming
Hi In this session we looked at simple concepts of object oriented programming, including the basics of creating classes, object instances, attributes and methods. All of the course slides and examples are made available on: https://goo.gl/YP0c2E Meanwhile, continue to practise and brush up your skills on: https://www.hackerrank.com/domains/python/py-introduction See you next Friday from 1:30 PM – 3:30 PM […]
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 […]
R Open Labs – Linear Regression
Thank you to all who showed up last week! Last Wednesday we went over doing linear regression in R, including: how to fit and interpret linear models, evaluate model validity and select among competing models. See you this Wednesday from 10 am – 12 pm at DSSC (Lehman Social Science Library Room 215)! Materials I […]
Python Open Labs – Session 12 (Review)
Hi Today we had a brief review session of all the basics of programming that we have covered so far in the Python Open Labs series. During this review we went over reading and writing files, conditional statements, for loops and while loops and various other specifics of programming with Python. This marks a major […]
Python Open Labs Session – 11
Hi In this session of Python Open Labs we looked at python dictionaries, one of the most powerful data types built into python, optimal for storing in-memory look up tables for fast lookups and search queries. In the next session we will go through some of the previous concepts as revision and introduce Object Oriented Design […]
R Open Labs – Shiny
Hope you guys enjoyed the snow. ❄️ This Wednesday we talked about Shiny. We discussed why we use R Shiny and how to create a Shiny application. Thank you to all who showed up! Hoping to see you next Wednesday 02/15/2017 10:00-11:00 at DSSC. The R Open Lab for next week will be shorter than usual because we […]