Print/format tf-objects.

# S3 method for tf
print(x, n = 10, ...)

# S3 method for tfd_reg
print(x, n = 10, ...)

# S3 method for tfd_irreg
print(x, n = 10, ...)

# S3 method for tfb
print(x, n = 10, ...)

# S3 method for tf
format(
  x,
  digits = 2,
  nsmall = 0,
  width = options()$width,
  n = 10,
  prefix = TRUE,
  ...
)

Arguments

x

any R object (conceptually); typically numeric.

n

how many elements of x to print out

...

further arguments passed to or from other methods.

digits

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 the interpretation for complex numbers see signif.)

nsmall

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.

width

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.

prefix

used internally.