Description Usage Arguments Author(s) Examples
View source: R/addNoiseAtEventTimes.R
Removes ties from by adding noise at tied times
1 | addNoiseAtEventTimes(frame,idName,startTimeName,stopTimeName)
|
frame |
Data on long format |
idName |
Name of column in |
stopTimeName |
Name of column with stop time of the at risk period, |
startStatusName |
Name of the variable that contains the name of start state for each at-risk interval, |
Pål Christie Ryalen <p.c.ryalen@medisin.uio.no>
1 2 3 4 5 | data(fr1)
fr1 <- as.data.table(fr1)
fr1 <- addNoiseAtEventTimes(fr1)
head(fr1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.