R/print.R

##' Print methods
##'
##' Prints its argument.
##'
##' @name print
##' @rdname print
NULL

setGeneric(
  "print",
  function (x)
    standardGeneric("print")
)

##' @name print-spatPomp
##' @aliases print,spatPomp-method
##' @rdname print
##' @param x a \code{spatPomp} object
##' @return An object of class \sQuote{spatPomp} is returned *invisibly*. The user is notified on the console only the class of the object.
##' @note Use \code{spy()} to see model components of \code{x} instead.
##' @export
setMethod(
  "print",
  signature=signature(x="spatPomp"),
  definition=function (x) {
    cat("<object of class ",sQuote("spatPomp"),">\n",sep="")
    invisible(x)
  }
)
kidusasfaw/spatPomp documentation built on May 2, 2024, 6:12 p.m.