Houses templates and useful custom functions for data analysis within BPS.
You can install and use this package from GitHub as follows:
install.packages("devtools")
devtools::install_github("BPSTechServices/bpsdataanalysis")
To use bpsdataanalysis from RStudio, you can access the templates through
File -> New File -> R Markdown
. This will open the dialog box where you can select from one of the available templates.
The gray text to the right indicates which package the template originated from.
To use bpsdataanalysis from VSCode, make sure that you have the R Extension for VSCode installed, and follow these instructions:
-
Press Ctrl+Shift+P to open the Command Palette at the center top of your VSCode window
-
Type and select "R Markdown: New Draft"
-
Click the .Rmd template that you want to use from the dropdown provided. The package name associated with the template is in gray.