Open Access. Powered by Scholars. Published by Universities.®

Arts and Humanities Commons

Open Access. Powered by Scholars. Published by Universities.®

PDF

Faculty Publications

2018

R workshop

Articles 1 - 2 of 2

Full-Text Articles in Arts and Humanities

Reshaping And Transforming Your Data: The Tidyverse Part 2, Joseph A. Stanley Mar 2018

Reshaping And Transforming Your Data: The Tidyverse Part 2, Joseph A. Stanley

Faculty Publications

This is the ninth installment of the R workshop series in Spring 2018 and the second workshop that introduces functions from the “tidyverse.” This document will cover these introductory topics: (1) loading the familiarizing yourself with the data used in this workshop; (2) various ways of merging datasets together; (3) summarizing your data by group; and (4) reshaping your data from tall to wide and vice versa.


Communicate With Your Audience: Intro To Rmarkdown, Joseph A. Stanley Jan 2018

Communicate With Your Audience: Intro To Rmarkdown, Joseph A. Stanley

Faculty Publications

So far, most of what you’ve done in R has been with R scripts, which is perfectly fine. But sometimes if you’re working on a particular project you might end up with one very long script. You might add some structure to the script using headers, and you can add comments to explain what code does, but after a while it can get unwieldy because there’s no narrative in your script. You forget why do did what you did and what things you learned from it. For many of my projects, I have an accompanying file where keep all my …