Risk Prediction - A practical example in R to accompany the e-LfH module.
This worked example was created by PHE, NHSE&I and NHSx to accompany the Risk Stratification e-Learning for Health Module, available at https://portal.e-lfh.org.uk .
Most instructions and guided explanation are given within the R file itself. The dataset and the generic analysis flow diagram mentioned in the module are also provided.
If using Git, you can either choose to download the project manually or - if familiar with Git and R integration - clone it into R Studio:
- Access the git via the url provided
- Click on the green button saying 'Code'
- Click 'Download ZIP'
- Unzip as folder in appropriate location
- In R Studio, choose File --> Open Project ... --> navigate to .Rproj file in unzipped folder
or
- Access the git via the url provided
- Click on the green button saying 'Code' and copy the 'HTTPS' link provided
- In R Studio, choose File --> New Project --> Version Control --> Git and paste the url provided. Click 'Create new project'
More information on using Github and connecting RStudio and Git can be found in this resource: https://happygitwithr.com/rstudio-git-github.html