Explorar el Código

Updating error in setup

Andrej hace 1 día
padre
commit
ea173b80ae
Se han modificado 3 ficheros con 7 adiciones y 0 borrados
  1. 1 0
      NAMESPACE
  2. 3 0
      R/km.R
  3. 3 0
      man/kaplan.meier.plot.gg.Rd

+ 1 - 0
NAMESPACE

@@ -1,6 +1,7 @@
 # Generated by roxygen2: do not edit by hand
 
 export(kaplan.meier)
+export(kaplan.meier.plot.gg)
 export(mapNA)
 export(remapVariable)
 export(selectValid)

+ 3 - 0
R/km.R

@@ -53,6 +53,9 @@ set.from.list<-function(var,default,...){
 #' * my.labels labels for cases
 #' * draw.axis draw title and axis (FALSE)
 #' * my.n number of classes (2)
+#'@return graphical object 
+#'
+#'@export
 
 kaplan.meier.plot.gg<-function(x,var,...){
    if (!requireNamespace('ggsurvfit',quiet=TRUE)){

+ 3 - 0
man/kaplan.meier.plot.gg.Rd

@@ -24,6 +24,9 @@ kaplan.meier.plot.gg(x, var, ...)
 \item my.n number of classes (2)
 }}
 }
+\value{
+graphical object
+}
 \description{
 Plot a Kaplan-Meier curve with ggsurvfit
 }