Print/format tf-objects.
# S3 method for tf
print(x, n = 5, ...)# S3 method for tfd_reg
print(x, n = 5, ...)
# S3 method for tfd_irreg
print(x, n = 5, ...)
# S3 method for tfb
print(x, n = 5, ...)
# S3 method for tf
format(
x,
digits = 2,
nsmall = 0,
width = options()$width,
n = 5,
prefix = TRUE,
...
)
prints out x and returns it invisibly
any R object (conceptually); typically numeric.
how many elements of x to print out
further arguments passed to or from other methods.
a positive integer indicating how many significant digits
are to be used for
numeric and complex x. The default, NULL, uses
getOption("digits"). This is a suggestion: enough decimal
places will be used so that the smallest (in magnitude) number has
this many significant digits, and also to satisfy nsmall.
(For more, notably the interpretation for complex numbers see
signif.)
the minimum number of digits to the right of the decimal
point in formatting real/complex numbers in non-scientific formats.
Allowed values are 0 <= nsmall <= 20.
default method: the minimum field width or
NULL or 0 for no restriction.
AsIs method: the maximum field width for non-character
objects. NULL corresponds to the default 12.
used internally.