accept2 {accept}R Documentation

Predicts COPD exacerbation rate by severity level based on the updated accept2 model, which improves accuracy in patients without an exacerbation history.

Description

Predicts COPD exacerbation rate by severity level based on the updated accept2 model, which improves accuracy in patients without an exacerbation history.

Usage

accept2(
  patientData,
  random_sampling_N = 100,
  lastYrExacCol = "LastYrExacCount",
  lastYrSevExacCol = "LastYrSevExacCount",
  KeepSGRQ = TRUE,
  KeepMeds = TRUE,
  ...
)

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

KeepSGRQ

default is TRUE. If set to false, the reduced model without SGRQ will be used.

KeepMeds

default is TRUE. If set to false, the reduced model without medication predictors will be used.

...

for backward compatibility

Value

patientData with prediction

Examples

results <- accept2(samplePatients)

[Package accept version 1.0.0 Index]