Explorar el Código

Removing labelVar from colSel in hypoAfrica.R

Andrej hace 6 días
padre
commit
cbe160aa37
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      R/hypoAfrica.R

+ 1 - 1
R/hypoAfrica.R

@@ -180,7 +180,7 @@ get.ggtext<-function(df,dfRef,var,timeVar='visitid',doseVar='dose',nVar='total',
    sf<-base::sprintf('%s_sF',var)
    dfRef[,sf]<-base::rep('',nrow(dfRef))
 
-   colSel<-base::c(timeVar,labelVar,sf,doseVar)
+   colSel<-base::c(timeVar,var,sf,doseVar)
    df1<-base::rbind(df[,colSel],dfRef[,colSel])
 
    if (!is.null(dfAdd)){