The goal of bertens is to predict the risk of exacerbations within the next 24 months based on previous exacerbation history, forced expiratory volume in one second, pack-years of smoking and a history of vascular disease.
You can install bertens
from GitHub with:
remotes::install_github("resplab/bertens")
This is a basic example which shows you how to solve a common problem:
library(bertens)
bertens(exacerbationHx = TRUE, fev1=32.9, packYears = 38, vascularDx = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.