Skip to content

Commit

Permalink
print prettier version number
Browse files Browse the repository at this point in the history
  • Loading branch information
mnwright committed Jan 5, 2018
1 parent ef89803 commit 747e4b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/prints.R
Expand Up @@ -25,7 +25,7 @@ print.survivalsvm <- function(x, ...) {
result <- printHybrid(object = x)
}
cat("survivalsvm version :",
x$package.version, "\n")
paste(x$package.version, collapse = "."), "\n")
}

#' Print of object of class \code{RegFitObj}. \code{RegFitObj} is the class of models fitted using the regression approach of survival support vector machines.
Expand Down Expand Up @@ -146,5 +146,5 @@ print.survivalsvmprediction <- function(x, ...) {
cat("predicted risk ranks :", round(x$predicted[1:min(5,
length(x$predicted))], 2), "...\n")
cat("survivalsvm version :",
x$package.version, "\n")
paste(x$package.version, collapse = "."), "\n")
}

0 comments on commit 747e4b5

Please sign in to comment.