event_prob: Evaluate Event Probabilities

View source: R/calculations.r

event_probR Documentation

Evaluate Event Probabilities

Description

Generate the conditional probability of an even during an interval of time.

Usage

event_prob(x, start, end, ...)

Arguments

x

A surv_dist object

start

A numeric vector of interval start times

end

A numeric vector of interval end times

...

additional arguments passed to methods

Examples

dist1 <- define_surv_param('exp', rate = 0.12)
surv_prob(dist1, c(0, 1, 2, 3))
  

PolicyAnalysisInc/herosurv documentation built on May 21, 2023, 10:12 a.m.