Nothing
#' @title Utilities for LSC class
#' @name LSC-utils
#' @aliases plot.LSC plot_LSC_0plus1D plot_LSC_1plus1D plot_LSC_2plus1D
#' @description
#'
#' The \code{"LSC"} class lies at the core of this package as it describes
#' spatio-temporal patterns in the data. It is usually an array with the
#' same spatio-temporal resolution as the original dataset.
#'
#' \code{plot.LSC} plots LSC of \eqn{(1+1)D} and \eqn{(2+1)D} systems.
#'
NULL
#' @rdname LSC-utils
#' @keywords hplot
#' @method plot LSC
#' @param x an object of class \code{"LSC"}
#' @param ... optional arguments passed to \code{\link{plot_LSC_2plus1D}} or
#' \code{\link{plot_LSC_1plus1D}}.
#' @seealso \code{\link[LICORS]{plot.mixed_LICORS}},
#' \code{\link{plot_LSC_2plus1D}}, \code{\link{plot_LSC_1plus1D}}
#' @export
#'
plot.LSC <- function(x, ...) {
object <- x
if (is.null(dim(object))) {
space.dim <- 0
} else {
space.dim <- length(dim(object)) - 1
}
if (space.dim == 0) {
plot_LSC_0plus1D(object, ...)
} else if (space.dim == 1) {
plot_LSC_1plus1D(object, ...)
} else if (space.dim == 2) {
plot_LSC_2plus1D(object, ...)
} else {
warning("Plotting for than (2+1)D (or more) is not implemented.")
plot.new()
}
}
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.