Nothing
#' Print MonoClust Cross-Validation Result
#'
#' @param x A `cv.MonoClust` object (output of [cv.test()]).
#' @param ... Further arguments passed to or from other methods.
#'
#' @export
#'
#' @examples
#' library(cluster)
#' data(ruspini)
#' \donttest{
#' # 10-fold cross-validation
#' cp_table <- cv.test(ruspini, minnodes = 2, maxnodes = 4)
#' print(cp_table)
#' }
print.cv.MonoClust <- function(x, ...) {
if (missing(x))
stop("\"x\" is required.")
if (!inherits(x, "cv.MonoClust"))
stop("Not a legitimate \"cv.MonoClust\" object.")
cat(x[["cv.type"]], "on a MonoClust object \n\n")
print(x[["cv"]])
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.