Description Usage Arguments Value Examples
Create a survival object from interval censored data with fixed observation times where only times with events or the last observation times (leading to right censoring) were reported. Observation times were defined before conducting the study and that were the same for all subjects.
1 | create_int2Surv(obsTimes, ev, defTimes = unique(obsTimes))
|
obsTimes |
A numeric vector with the observed survival times (the right interval bounds.) |
ev |
Were events observed at |
defTimes |
A numeric vector with all observation times. |
An object of class Surv
with type =
"interval2"
.
1 | with(MIC, create_int2Surv(concentration, inhibition))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.