代码如下
rcspline.plot(HDL_CHOL,SURVIVAL_T,model="cox",xrange=c(0,3),ylim=c(0,5),event=CVD,nk=4,knots=c(0.8, 1.0,1.5, 2.0),showknots=TRUE,statloc="none",adj=c(BLACK_NH,HISPANIC,ETHN_OTHER,CURR_SMOKER,INF_HS,COLLEGE))
软件报错如下:错误于rcspline.plot(HDL_CHOL, SURVIVAL_T, model = "cox", xrange = c(0, :
x and adj must have the same length
adj代表输入的是调整变量,为啥认为长度不一样呢