Learn R Programming

rtables (version 0.3.8)

cbind_rtables: cbind two rtables

Description

cbind two rtables

Usage

cbind_rtables(x, ...)

Arguments

x

A table or row object

1 or more further objects of the same class as x

Value

A formal table object.

Examples

Run this code
# NOT RUN {
x <- rtable(c("A", "B"), rrow("row 1", 1,2), rrow("row 2", 3, 4))

y <- rtable("C", rrow("row 1", 5), rrow("row 2", 6))

z <- rtable("D", rrow("row 1", 9), rrow("row 2", 10))

t1 <- cbind_rtables(x, y)
t1

t2 <- cbind_rtables(x, y, z)
t2

col_paths_summary(t1)
col_paths_summary(t2)

# }

Run the code above in your browser using DataLab