{"push_id":825459497,"size":2,"distinct_size":2,"ref":"refs/heads/gh-pages","head":"c75f8136cd523e54e6bca9905f26275e36869c38","before":"8eccc9f13ee4a44671d53d22f8e13fc31854aa42","commits":[{"sha":"62979c148517c5afcd917a691f04405f00bc08b1","author":{"email":"a356c5d6e0f5cf7a99ca429a57ff70a0be3f2127@gmail.com","name":"whopper-sculder"},"message":"Andrew's lab 4 fixes\n\n    all slides put , after e.g. and i.e.\n        Fixed\n\n    all slides, either put . after each bullet point or don't. Don't mix.\n        Fixed by removing .\n\n    p5 show dummy before indexing\n        Fixed\n\n    p7 & 8, will they use this type of indexing in this class? If not, leave out.\n        They theoretically could use linear indexing (many people use it without knowing they're using it when they follow online tutorials and such) but I will move move them to an \"Advanced Extras\" section at the end. I don't plan to go over those slides but I would like to keep them hanging around just in case I ever want them.\n\n    p9 do colSums(dummy), then colSums(dummy) < 8, then dummy[,colSums(dummy) < 8)\n        Fixed\n\n    p9 split into 2 pages. 2nd page does 2nd example.\n        Fixed\n\n    p9 do dummy[,1], dummy[,1] > 5, then dummy[dummy[,1] > 5,]\n        Fixed\n\n    p10 leave out? Lots of slides, gotta leave some out\n        Fixed by leaving out\n\n    p11 do a more straightforward example (something akin to the df example you do later)\n        Fixed\n\n    p14 if leave out linear position indexing, leave out that bullet pt here\n        Fixed by removing\n\n    p17 'One of the most common use cases' what's this mean?\n        Just means this is a common task. Changed it just to say that\n\n    p18 do InsectSprays$spray, then InsectSprays$spray == \"A\", then the whole example\n        Fixed\n\n    p19, I actually like InsectSprays[InsectSprays$spray == \"A\"]$count, indexes rows first then picks out columns. Keeps same order as [] syntax\n        I'll show both. I feel like InsectSprays$count[InsectSprays$spray == \"A\"]  is more common, but maybe its just me, and its useful to see several ways of solving the problem\n\n    p21 add this example InsectSprays[, count], is a very common error\n        Assuming  you mean the mistake is quote-less naming, added.\n\n    Make a header slide for matrices and lists like you did for data frames, or get rid of the data frame one\n        Fixed by adding header slide for matrices and lists\n\n    p25 comma separated should be hyphenated\n        Fixed\n\n    p25 you can get rid of last 2 bullet points, covered later\n        Fixed\n\n    Do a simple list indexing activity\n        Added.\n\n    p30 can you find an example where you don't have to do the as.character command? Added complication. This might necessitate a change in 3 on p34. Not sure.\n        I couldn't find a built in data frame that doesn't factor its strings. Changing factors in place will just throw that 'invalid factor levels, NA generated' error so I wanted to avoid that. I could have them change numeric columns but I thought it was weird to have them edit the data to arbitrary values. Plus, I though that line shows another in-place updating of data which would be useful.\n\n    Maybe an early slide, when talking about logical indexing, showing how there is 1 T/F for each col/row that you're indexing and that's how it decides which col/row to keep. Actually, start with a vector of T/F values, 1 for each col/row. Then move into your examples.\n        Added, see new pg. 8","distinct":true,"url":"https://api.github.com/repos/wjhopper/psych640/commits/62979c148517c5afcd917a691f04405f00bc08b1"},{"sha":"c75f8136cd523e54e6bca9905f26275e36869c38","author":{"email":"a356c5d6e0f5cf7a99ca429a57ff70a0be3f2127@gmail.com","name":"whopper-sculder"},"message":"Merge branch 'master' into gh-pages","distinct":true,"url":"https://api.github.com/repos/wjhopper/psych640/commits/c75f8136cd523e54e6bca9905f26275e36869c38"}]}