接下来就是绘制基线表,使用的是svyCreateTableOne函数,先要定义全部变量和分类变量 dput(names(bc))##输出变量名allVars<-c('RIAGENDR','RIDAGEYR','RIDRETH1','DMDMARTL','LBDGLUSI','LBDINSI','PHAFSTHR','LBXGH','SPXNFEV1','SPXNFVC','LBDGLTSI','oGTT2')###所有变量名fvars<-c('RIAGEND...
接下来就是绘制基线表,使用的是svyCreateTableOne函数,先要定义全部变量和分类变量 dput(names(bc))##输出变量名allVars<-c('RIAGENDR','RIDAGEYR','RIDRETH1','DMDMARTL','LBDGLUSI','LBDINSI','PHAFSTHR','LBXGH','SPXNFEV1','SPXNFVC','LBDGLTSI','oGTT2')###所有变量名fvars<-c('RIAGEND...