生存分析找最佳截点时运行正常,然而作图时plot(cut,xlim = c(0, 310),ylim = c(0, 310)),提示错误,请问如何解决呢?
```r
score_t <- data.frame(rt,Score=rsf_t$predicted)#[,c(18,19)]
cut <- surv_cutpoint(score_t,"生存时间","生存状态",'Score')
cut
cutpoint statistic
Score 83.4138 21.29805
plot(cut,xlim = c(0, 310),ylim = c(0, 310))
Error in length(log) && log != "" :
'length = 2' in coercion to 'logical(1)'
```