Nothing
# SHOW
#' @include AllGenerics.R
NULL
setMethod(
f = "show",
signature = "CompositionMatrix",
definition = function(object) {
m <- nrow(object)
p <- ncol(object)
mtx <- methods::as(object, "matrix")
txt_dim <- sprintf("%d x %d", m, p)
txt_mtx <- sprintf("<%s: %s>", class(object), txt_dim)
cat(
txt_mtx,
utils::capture.output(mtx),
sep = "\n"
)
invisible(object)
}
)
setMethod(
f = "show",
signature = "LogRatio",
definition = function(object) {
m <- nrow(object)
p <- ncol(object)
mtx <- methods::as(object, "matrix")
txt_dim <- sprintf("%d x %d", m, p)
txt_mtx <- sprintf("<%s: %s>", get_transformation(object), txt_dim)
cat(
txt_mtx,
utils::capture.output(mtx),
sep = "\n"
)
invisible(object)
}
)
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.