Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
**Using R for data cleaning and data wrangling - Paul Thompson** Hopefully you have successfully [installed R][3] and [RStudio][2] by this point, if not pleasedo so before you continue. You will need to download the R script called "script for cumberland lodge_thompson.R" and "simulated_TEF_data.csv" files from the "Thompson" folder found on OSF [here][1]. The script for simulating the data is also in this folder but details will not be covered in that session. I would be happy to discuss the details in any of the free time slots throughout the week. You will also need to run the following R code snippet to download required R packages: list_of_packages = c("assertr","tidyverse","MASS") new.packages = list_of_packages[!(list_of_packages %in% installed.packages()[,"Package"])] if(length(new.packages))install.packages(new.packages) library(assertr) library(tidyverse) library(MASS) Copy the code into R command line, and then press Return. Hopefully, this should run without errors. [2thout errors. [1]: https://osf.io/94db2/ [2]: https://www.rstudio.com/products/rstudio/#Desktop [3]: https://cran.r-project.org
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.