diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2018-02-09 16:34:57 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2018-02-09 16:34:57 +0000 |
| commit | 381266b57b48e8005099b4ea5762d08455c2e5ba (patch) | |
| tree | 904fd9c0fa37ec30791a2dd5644f1fd67c5515b7 /R/print.gensvm.R | |
| download | rgensvm-381266b57b48e8005099b4ea5762d08455c2e5ba.tar.gz rgensvm-381266b57b48e8005099b4ea5762d08455c2e5ba.zip | |
initial commit
Diffstat (limited to 'R/print.gensvm.R')
| -rw-r--r-- | R/print.gensvm.R | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/R/print.gensvm.R b/R/print.gensvm.R new file mode 100644 index 0000000..8d17b0c --- /dev/null +++ b/R/print.gensvm.R @@ -0,0 +1,34 @@ +#' @title Print the fitted GenSVM model +#' +#' @description Prints a short description of the fitted GenSVM model +#' +#' @param object A \code{gensvm} object to print +#' @param \dots further arguments are ignored +#' +#' @return returns the object passed as input +#' +#' @author +#' Gerrit J.J. van den Burg, Patrick J.F. Groenen +#' Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +#' +#' @references +#' Van den Burg, G.J.J. and Groenen, P.J.F. (2016). \emph{GenSVM: A Generalized +#' Multiclass Support Vector Machine}, Journal of Machine Learning Research, +#' 17(225):1--42. URL \url{http://jmlr.org/papers/v17/14-526.html}. +#' +#' @method print gensvm +#' @export +#' +#' @examples +#' +#' +print.gensvm <- function(object, ...) +{ + cat("\nCall:\n") + dput(object$call) + + # TODO: fill this out + # + # + invisible(object) +} |
