Nothing
#' @export
print.variable_selection <- function(x, ...) {
cat(paste0("Stability selection using function ", x$methods$implementation, " with ", x$methods$family, " family."))
cat("\n")
if (x$methods$resampling == "subsampling") {
cat(paste0("The model was run using ", x$params$K, " subsamples of ", x$params$tau * 100, "% of the observations."))
} else {
cat(paste0("The model was run using ", x$params$K, " bootstrap samples."))
}
cat("\n")
}
#' @export
print.structural_model <- function(x, ...) {
cat(paste0("Stability selection using function ", x$methods$implementation, "."))
cat("\n")
if (x$methods$resampling == "subsampling") {
cat(paste0("The model was run using ", x$params$K, " subsamples of ", x$params$tau * 100, "% of the observations."))
} else {
cat(paste0("The model was run using ", x$params$K, " bootstrap samples."))
}
cat("\n")
}
#' @export
print.graphical_model <- function(x, ...) {
cat(paste0("Stability selection using function ", x$methods$implementation, "."))
cat("\n")
if (x$methods$resampling == "subsampling") {
cat(paste0("The model was run using ", x$params$K, " subsamples of ", x$params$tau * 100, "% of the observations."))
} else {
cat(paste0("The model was run using ", x$params$K, " bootstrap samples."))
}
cat("\n")
}
#' @export
print.bi_selection <- function(x, ...) {
cat(paste0("Stability selection using function ", x$methods$implementation, " with ", x$methods$family, " family."))
cat("\n")
if (x$methods$resampling == "subsampling") {
cat(paste0("The model was run using ", x$params$K, " subsamples of ", x$params$tau * 100, "% of the observations."))
} else {
cat(paste0("The model was run using ", x$params$K, " bootstrap samples."))
}
cat("\n")
}
#' @export
print.clustering <- function(x, ...) {
if (x$methods$implementation == "HierarchicalClustering") {
cat(paste0("Consensus clustering using function ", x$methods$implementation, " with ", x$methods$linkage, " linkage."))
} else {
cat(paste0("Consensus clustering using function ", x$methods$implementation, "."))
}
cat("\n")
if (x$methods$resampling == "subsampling") {
cat(paste0("The model was run using ", x$params$K, " subsamples of ", x$params$tau * 100, "% of the observations."))
} else {
cat(paste0("The model was run using ", x$params$K, " bootstrap samples."))
}
cat("\n")
}
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.