rbind_space: Function to bind tables/matrices with a blank row between...

View source: R/rbind_space.R

rbind_spaceR Documentation

Function to bind tables/matrices with a blank row between them

Description

Function to bind tables/matrices with a blank row between them

Usage

rbind_space(x, y, check.names = FALSE)

Arguments

x

a data.frame or array, possibly of character elements only

y

a data.frame or array, with the same number of columns as x

check.names

logical. If FALSE the names are preserved from x, but if TRUE they are converted to syntactically valid variable names, which may not be desired for a table in a report.

Details

based largely on the rbind function. Use in conjunction with Reduce to join up more than two tables.

Value

a data.frame or array that is x stacked vertically above y with a row of blank values in-between. Useful for formatting


shug0131/cctu documentation built on Feb. 15, 2025, 3:27 p.m.