Sets up the analysis folder
start_analysis.Rd
start_analysis()
creates a new directory in which it creates the
recommended folder structure, copies template Master.R
and Read-data.R
scripts, and optionally creates a .gitignore
file and the template
statistics report also included in Useful.functions
.
Arguments
- path
the path to the new analysis folder
- createGitignore
logical indicating whether a
.gitignore
file should be created with standard items which git should ignore. Default isTRUE
.- rprofile
logical indicating whether a project
.Rprofile
should be created to automatically open theMaster.R
script when the project is opened. Default isTRUE
.- statsReport
optional character string with the name of the statistics report to be created. This will be created in the Reports folder.
Details
This template package can also be implemented through the RStudio IDE.