Skip to content

Instantly share code, notes, and snippets.

@AaronRanAn
AaronRanAn / r-interview.md
Created February 17, 2017 01:58 — 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]?