taxa (version 0.3.3)

print_item: Print a item

Description

Used to print each item in the taxmap print method.

Usage

print_item(
  obj,
  data,
  name = NULL,
  max_rows = 3,
  max_items = 3,
  max_width = getOption("width") - 10,
  prefix = ""
)

Arguments

obj

The taxmap object containing the thing to print

data

The item to be printed

max_rows

(numeric of length 1) The maximum number of rows in tables to print.

max_items

(numeric of length 1) The maximum number of list items to print.

max_width

(numeric of length 1) The maximum number of characters to print.

prefix

(numeric of length 1) What to print in front of each line.

Examples

Run this code
# NOT RUN {
taxa:::print_item(ex_taxmap, ex_taxmap$data$info)
taxa:::print_item(ex_taxmap, 1:100)

# }

Run the code above in your browser using DataLab