Learn R Programming

rtemis (version 0.79)

printls: Pretty print list

Description

Pretty print a list (or data frame) recursively

Usage

printls(x, prefix = "", pad = 3, center.title = TRUE, title = NULL,
  title.newline = FALSE, newline.pre = FALSE, color = NULL)

Arguments

x

list or object that will be converted to a list

prefix

String: Optional prefix for names

pad

Integer: Pad output with this many spaces. Default = 2

center.title

Logical: If TRUE, autopad title for centering, if present. Default TRUE

color

crayon color to be applied when printing values. Default = NULL (do not use crayon)

Details

Data frames in R began life as lists