ProjectMOSAIC / mosaic

Project MOSAIC R package
http://mosaic-web.org/
93 stars 26 forks source link

RStudio-style cheatsheet for mosaic #662

Closed mlaviolet closed 7 years ago

mlaviolet commented 7 years ago

The minimalR vignette and the RJournal article are great resources for instructors, but a similar resource for students is needed. I'd like to suggest a cheatsheet in the RStudio style. The Student's Guide to R would make a good organizing framework. Cheatsheet columns for types of analysis such as One Quantitative Variable could include commands for numerical summaries, graphical summaries, and inference procedures. I hope you'll consider it.

Thanks!

nicholasjhorton commented 7 years ago

Thanks for your comment. I use the Minimal R vignette for my students (just the last two pages) and hand this out early in the semester.

We'd welcome any contributions of other vignettes along the lines that you suggest if you wanted to draft something.

AmeliaMN commented 7 years ago

I'm working on a cheatsheet comparing R syntaxes, if that is interesting. I'd love feedback on what else might be useful!

dtkaplan commented 7 years ago

That's really nice, Amelia. You might want to think about changing the formula plotting commands to ggformula.

Regards, Danny

On Wed, Jul 26, 2017 at 1:31 PM Amelia McNamara notifications@github.com wrote:

I'm working on a cheatsheet comparing R syntaxes http://www.science.smith.edu/%7Eamcnamara/sds220/handouts/Syntax-cheatsheet.pdf, if that is interesting. I'd love feedback on what else might be useful!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ProjectMOSAIC/mosaic/issues/662#issuecomment-318142621, or mute the thread https://github.com/notifications/unsubscribe-auth/AAggrUCS_KOjTOdL3priIF7F0EGNLs9Oks5sR4YbgaJpZM4OPAYw .

nicholasjhorton commented 7 years ago

I'd be glad to take care of that transition.

All the best,

Nick

On Jul 26, 2017, at 2:46 PM, Daniel Kaplan notifications@github.com wrote:

That's really nice, Amelia. You might want to think about changing the formula plotting commands to ggformula.

Regards, Danny

On Wed, Jul 26, 2017 at 1:31 PM Amelia McNamara notifications@github.com wrote:

I'm working on a cheatsheet comparing R syntaxes http://www.science.smith.edu/%7Eamcnamara/sds220/handouts/Syntax-cheatsheet.pdf, if that is interesting. I'd love feedback on what else might be useful!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ProjectMOSAIC/mosaic/issues/662#issuecomment-318142621, or mute the thread https://github.com/notifications/unsubscribe-auth/AAggrUCS_KOjTOdL3priIF7F0EGNLs9Oks5sR4YbgaJpZM4OPAYw .

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.

mlaviolet commented 7 years ago

I put together a draft for a cheatsheet. For now, I used the lattice graphics but it could easily be adapted to ggformula.

mosaic-cheatsheet.pptx

nicholasjhorton commented 7 years ago

Thanks for your work on this. It looks like a good start. I suspect that ggformula would be better than lattice given the direction of the package and the quality of the graphics.
I wonder whether a second page might allow demonstration of some multivariable displays and multiple regression plotting and use of makeFun(). The existing "Minimal R" vignette has some examples but they could be improved.

mlaviolet commented 7 years ago

Thanks for the feedback. The examples you mention could work in a "Part 2" cheatsheet. I agree that ggformula is ultimately the way to go, but there are some lattice graphs I haven't figured out how to duplicate with ggformula (for instance, bar graphs with percentages instead of counts). Thanks again!