Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

head_print

Print the only the head of an R object


Description

Print the only the head of an R object

Usage

head_print(
  x,
  max_lines = 20,
  header = "",
  footer = "",
  omitted_footer = "",
  ...
)

Arguments

x

The object to print, or a callback function. See printer_callback for details.

max_lines

Maximum number of lines to print, not including the header and the footer.

header

The header, if a function, then it will be called, otherwise printed using cat.

footer

The footer, if a function, then it will be called, otherwise printed using cat.

omitted_footer

Footer that is only printed if anything is omitted from the printout. If a function, then it will be called, otherwise printed using cat.

...

Extra arguments to pass to print().

Value

x, invisibly.


igraph

Network Analysis and Visualization

v1.2.10
GPL (>= 2)
Authors
See AUTHORS file.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.