Description Usage Arguments Details Value
We want the number of units at risk just before each event time it is also possible to send down a longer list of times for purposes of making a riskset plot.
1 2 3 4 5 6 7 8 9 10 11 12 13 | RISKSET(
muniqrecurr,
tuniq,
nwindows,
twindowsl,
twindowsu,
wcounts,
iordl,
iordu,
delta,
kdebug,
iscrat
)
|
muniqrecurr |
number of unique recurrence times |
tuniq |
length(muniqrecurr) unique recurrence times (in increasing order); |
nwindows |
length of twindowsl and twindowsu; |
twindowsl |
vector giving observation window start points |
twindowsu |
window end points corresponding to twindowsl |
wcounts |
counts for the windows; |
iordl |
scratch space ordering vector for twindowsl; |
iordu |
scratch ordering vector for twindowsu; |
Wrapper for wqm_riskset
delta length(muniqrecurr) size of the risk set just before time tuniq(j)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.