Basic R functions and design patterns
Sample (from 40 notes)
|Front||In R, what does !u mean?|
|Back||evaluates the logical negation of u|
|Front||In R, what does the command a:b output?|
|Back||the vector [a, a+1, ..., b] > abbreviation for seq(a,b,1), or just seq(a,b) since n defaults to 1, a la python|
|Front||In R, how do you combine the vectors n and s? > n = c(2, 3, 5) > s = c("aa", "bb", "cc", "dd", "ee")|
|Back||via c(n, s) >  "2" "3" "5" "aa" "bb" "cc" "dd" "ee"> think: c stands for "concatenate"|
After the file is downloaded, double-click on it to open it in the desktop program.
At this time, it is not possible to add shared decks directly to your AnkiWeb account - they need to be added from the desktop then synchronized to AnkiWeb.
However you should add "R and RStudio" to the title, as if a user searches "R" on the 'Anki Shared Decks' search bar, nothing appears as the bar does not accept single character search queries. The only way this deck can be found is by direct link or by google search, same with your Intermediate R deck.