Переглянути джерело

Adding selectValid to exports

Andrej 1 тиждень тому
батько
коміт
8c2c2b90de
2 змінених файлів з 2 додано та 0 видалено
  1. 1 0
      NAMESPACE
  2. 1 0
      R/modifyData.R

+ 1 - 0
NAMESPACE

@@ -1,3 +1,4 @@
 # Generated by roxygen2: do not edit by hand
 
+export(selectValid)
 export(sumWithNA)

+ 1 - 0
R/modifyData.R

@@ -30,6 +30,7 @@ sumWithNA<-function(df,var1='lesionmtv41',var2='metastasesmtv41',outVar='totalmt
 #' @param targetVar name of target variable holding status at cutoff (0-dead, 1-alive, 2-censored)
 #'
 #' @return updated data frame with targetVar
+#' @export 
 
 selectValid<-function(df,cutoff=2,timeVar='years_to_event',osVar='st_osMAP',targetVar='osAtCutoff'){
    #if alive and ytoevent>c -> alive