Error using survSplit function
问题 I'm rerunning code from 2 years ago and am encountering a new error with the survSplit function. The error says that my object cannot be found, even though it is a defined column in my dataframe. Here is an example of my dataframe: f12 <- data.frame(id = 1:6, next.ivl= c(22.348, 1.837, 2.051,1.782,1.692, 1.730), event = c(0,1,1,0,1,1), enter= rep(0,6), end=c(22.348, 1.837,2.051,1.782,1.629,1.730)) My previous code was the following: cutpoints.l <- c(10/12, 1.25, 1.75, 2.25, seq(3,11)) f12