print__vector: Generic vector printer

View source: R/old_taxa--taxmap--printers.R

print__vectorR Documentation

Generic vector printer

Description

Print a vector for the print method of taxmap objects.

Usage

print__vector(
  obj,
  data,
  name,
  prefix,
  max_width,
  max_rows,
  type = class(data)[1]
)

Arguments

obj

The taxmap object containing the thing to print

data

Something to print

name

The name of the thing to print

prefix

What to put before the thing printed. Typically a space.

max_width

Maximum width in number of characters to print

max_rows

Maximum number of rows to print

type

The name of the type of vector to print (e.g. numeric).

Details

Which print method is called is determined by its name, so changing the name of this function will change when it is called.

See Also

Other taxmap print methods: print__character(), print__data.frame(), print__default_(), print__factor(), print__integer(), print__list(), print__logical(), print__matrix(), print__numeric(), print__ordered(), print__tbl_df()


metacoder documentation built on April 4, 2023, 9:08 a.m.