obj_print

0th

Percentile

print() and str() generics.

These are contructed to be more easily extensible since you can override the _header(), _data() or _footer() components individually. The default methods are built on top of format().

Keywords
internal
Usage
obj_print(x, ...)

obj_print_header(x, ...)

obj_print_data(x, ...)

obj_print_footer(x, ...)

obj_str(x, ...)

obj_str_header(x, ...)

obj_str_data(x, ...)

obj_str_footer(x, ...)

Arguments
x

A vector

...

Additional arguments passed on to methods. See print() and str() for commonly used options

Aliases
  • obj_print
  • obj_print_header
  • obj_print_data
  • obj_print_footer
  • obj_str
  • obj_str_header
  • obj_str_data
  • obj_str_footer
Documentation reproduced from package vctrs, version 0.1.0, License: GPL-3

Community examples

Looks like there are no examples yet.