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

predictCountProbR Documentation

Predicts probability of observing n exacerbations in the next year

Description

Predicts probability of observing n exacerbations in the next year

Usage

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

Arguments

patientResults

patient results vector, produced by accept.

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

results <- accept2(samplePatients[1,])
predictCountProb (results)

aminadibi/accept documentation built on July 4, 2023, 10:15 p.m.