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)
  }
)

Try the spatPomp package in your browser

Any scripts or data that you put into this service are public.

spatPomp documentation built on Aug. 10, 2023, 1:10 a.m.