R/print.effect.R

Defines functions print.effect

Documented in print.effect

print.effect <-
function(x, ...)
 {
  if (!inherits(x, "effect"))
     stop("argument 'x' must be of class 'effecttlm'")
  cat("\n")
  if (attr(x, "unusegarg") == TRUE)
     cat("WARNING: any effect corresponds to the provided arguments.\n\n")
  cat(x$info)
  print(x$effect, ...)
  if (attr(x, "modeltype") > 0)
   {
   	cat("\n")
   	cat("For further information on interpreting the effect use effectInfo().\n\n")
   }
 }

Try the tlm package in your browser

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

tlm documentation built on May 2, 2019, 2:11 p.m.