pasteHead: pasteHead

Description Usage Arguments Author(s) Examples

View source: R/debug.R

Description

Collapse each argument to at most nHead elements and apply fPasteItem to each one

Usage

1
pasteHead(..., nHead = 3L, fPasteItem = pasteCollapseNamed)

Arguments

...

arguments to paste together

nHead

number of elements to include

fPasteItem

collapse function applied to each argument. Defaults to pasteCollapseNamed.

Author(s)

Thomas Wutzler

Examples

1
2
pasteHead("short vector is: ",c(a=1,b=2)," by string.")
pasteHead("longer vector is: ",1:5," by string.")

twMisc documentation built on May 21, 2017, 3:43 a.m.

Search within the twMisc package
Search all R packages, documentation and source code