R/S3-MeasErrorExt.R

Defines functions print.MeasErrorExt

#' @export
print.MeasErrorExt <- function(x, ...) {
  cat("\nCall:\n", deparse(attributes(x)$call), "\n", sep = "")
  cat(
    "\nThe error-prone variable",
    deparse((attr(x, 'input')$substitute)),
    "will be corrected using the following model:\n"
  )
  print(x$model$coef)
  invisible(x)
}

Try the mecor package in your browser

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

mecor documentation built on Dec. 11, 2021, 9:29 a.m.