File: print.bounds.R

package info (click to toggle)
r-cran-eipack 0.2-2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 476 kB
  • sloc: ansic: 1,155; makefile: 5
file content (10 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
print.bounds <- function(x, digits = max(2, getOption("digits") - 4), ...) { 
  cat("\nDeterministic bounds:\n\n")
  for(i in 1:length(x$bounds)){
    cat(names(x$bounds)[i], "\n")
    print.default(format(x$bounds[[i]], digits = digits),
                print.gap = 2, quote = FALSE, ...)
    cat("\n")
  }
  invisible(x)
}