- Go to github.com/majerus/paideia_reed_college/R_for_beginners
- Unzip paideia.zip
- Open
slides.html
- Open RStudio:
- Open a Finder window
- Then click on Applications > RStudio
Wednesday January 21, 2015
slides.htmlLike getting under hood of a car!
In increasing order of relevance:
In increasing order of relevance:
> is the prompt; it means R is ready to receive commands. If you don’t see a > and want to restart, press ESC.Your turn. Open Paideia.R in RStudio
Questions
Data: for each student who took MATH 141 Intro to Prob & Stats in Fall 2013
Data is saved in Comma Separated Value (CSV) file format.
Question: What did the San Francisco OkCupid online dating pool look like in June 2012?
Data: This is the result of a Python script that scraped the OkCupid website. We consider the n=59,946 users who were
table() to get frequency countsQuestion: Who will people who attend my goodbye party know?
Data: 41 x 41 matrix of TRUE/FALSEs indicating for all pairs of people if I think they know each other.
Tool: We will use the network package to create a visual social network graph, contributed by a team of sociologists and statisticians.
if/else statements, for loops, etc.