predictCountProb: Predicts probability of observing n exacerbations in the next...

Description Usage Arguments Value Examples

Description

Predicts probability of observing n exacerbations in the next year

Usage

1
predictCountProb(patientResults, n = 10, shortened = TRUE)

Arguments

patientResults

patient results vector, produced by predictAccept.

n

how many exacerbations

shortened

boolean: Shortened results groups into 0, 1, 2, and 3 or more exacerbations

Value

a matrix of probabilities with the number of exacerbations as rows and number of severe exacerbations as columns

Examples

1
2
results <- predictACCEPT(samplePatients[1,], random_distribution_iteration = 5000)
predictCountProb (results)

resplab/accept documentation built on Aug. 11, 2019, 1:40 a.m.