Intermediate R functions and design patterns0.06MB. 0 audio & 1 images. Updated 2015-08-25.
Sample (from 51 notes)
|Front||In R, what is the function of cut(a, b, c)?|
|Back||creates a factor variable, where a) the first argument a is an input vector,b) the second argument b is the number of breakpoints, c) the third argument is a character vector specifying the lables > factor is aka categorical > nb, any number below the first or above the last breakpoint is coded as an NA|
|Front||In R, what is the difference between these two lm regression models? why?a) y ~ xb) y ~ 1 + x|
|Back||nothing; 1 corresponds to the intercept which is assumed in (a), so they are both of the form y = mx + b> trick q> http://stackoverflow.com/questions/13366755/what-does-the-r-formula-y1-mean|
|Front||In R, how do you reverse a string x?|
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.