survival: Use new data load function
Load the data with the new introduced function sma_load_data().
This commit is contained in:
parent
f919a31527
commit
27579452c3
@ -6,7 +6,7 @@
|
||||
library(survival)
|
||||
source("utils.R")
|
||||
|
||||
secmal <- read.csv2("current.csv", header=TRUE)
|
||||
secmal <- sma_load_data("current.csv")
|
||||
|
||||
# Setup survival object
|
||||
surv_dx <- Surv(time = secmal$event_time_dx, event = secmal$event_status)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user