rowPaste: Collapse Rows of Characters.

View source: R/Utils.R

rowPasteR Documentation

Collapse Rows of Characters.

Description

Collapse rows of characters. Fast alternative to apply(x,1,paste0,collapse="")

Usage

rowPaste(object)

Arguments

object

A matrix/data.frame/list containing the characters.

Examples

## Not run: 
M <- matrix(letters,nrow = 26, ncol = 2)
rowPaste(M)

## End(Not run)

tagteam/riskRegression documentation built on Oct. 19, 2024, 7:43 p.m.