accept1: Predicts COPD exacerbation rate by severity level based on Acute COPD Exacerbation Tool (ACCEPT)
Description
Predicts COPD exacerbation rate by severity level based on Acute COPD Exacerbation Tool (ACCEPT)
Usage
accept1(
patientData,
random_sampling_N = 100,
lastYrExacCol = "LastYrExacCount",
lastYrSevExacCol = "LastYrSevExacCount",
...
)
Value
patientData with prediction
Arguments
- patientData
patient data matrix. Can have one or many patients in it
- random_sampling_N
number of random sampling. Default is 100.
- lastYrExacCol
the column specifying last year all exacerbation count
- lastYrSevExacCol
the column specifying last year severe exacerbation count
- ...
for backward compatibility
Examples
Run this coderesults <- accept1(samplePatients)
Run the code above in your browser using DataLab