R/print.cpt.R

Defines functions print.cpt

Documented in print.cpt

#' @name print.cpt
#' @export
#' 
#' @title Print Method for CPT objects
#' @description Just a wrapper to strip the attributes off, change the class, and print the array.
#' 
#' @param x Object of class \code{cpt}
#' @param ... Additional arguments to be passed to other methods.
#' 
#' @author Jarrod Dalton and Benjamin Nutter
#' 
print.cpt <- function(x, ...)
{
  attr(x, "model") <- NULL
  class(x) <- "array"
  print(x)
}
  

Try the HydeNet package in your browser

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

HydeNet documentation built on July 8, 2020, 5:15 p.m.