Description Usage Arguments Value Author(s) Examples
View source: R/base_convertStatus.R
convert time and status to a binary variable
1 2 |
data |
the data containing time and status columns |
time |
colname of time |
status |
colname of status |
event |
the symbol of event happening |
cutoff |
the cut off of time to create a binary variable |
filter |
if |
name |
the colnames of new binary variables |
a data frame of binary variables
Weibin Huang<654751191@qq.com>
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.