R/print.psychobject.R

Defines functions print.psychobject

Documented in print.psychobject

#' Print the results.
#'
#' @param x A psychobject class object.
#' @param ... Further arguments passed to or from other methods.
#'
#' @author \href{https://dominiquemakowski.github.io/}{Dominique Makowski}
#'
#' @export
print.psychobject <- function(x, ...) {
  text <- x$text
  cat(text, sep = "\n")
  invisible(text)
}
neuropsychology/psycho.R documentation built on April 12, 2018, 7:20 p.m.