Skip to content

Instantly share code, notes, and snippets.

@maansea
maansea / quiz1.md
Created October 13, 2020 07:30 — forked from mGalarnyk/quiz1.md
R Programming Quiz 1 (Week 1) John Hopkins Data Science Specialization Coursera for the github repo https://github.com/mGalarnyk/datasciencecoursera

R Programming Quiz 1 (JHU) Coursera

github repo for rest of specialization: Data Science Coursera

Question 1

R was developed by statisticians working at...

Answer

The University of Auckland

@maansea
maansea / r-interview.md
Created October 13, 2020 07:29 — forked from peterhurford/r-interview.md
R Interview Questions

1.) If I have a data.frame df <- data.frame(a = c(1, 2, 3), b = c(4, 5, 6), c(7, 8, 9))...

1a.) How do I select the c(4, 5, 6)?

1b.) How do I select the 1?

1c.) How do I select the 5?

1d.) What is df[, 3]?