Event | R Documentation |
Constructur for Event History objects
Event(time, time2 = TRUE, cause = NULL, cens.code = 0, ...)
time |
Time |
time2 |
Time 2 |
cause |
Cause |
cens.code |
Censoring code (default 0) |
... |
Additional arguments |
... content for details
Object of class Event (a matrix)
Klaus K. Holst and Thomas Scheike
t1 <- 1:10
t2 <- t1+runif(10)
ca <- rbinom(10,2,0.4)
(x <- Event(t1,t2,ca))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.