Learn R Programming

customLayout (version 0.1.0)

laySplitField: Split a selected field from layout using a schema from another layout.

Description

Split a selected field from layout using a schema from another layout.

Usage

laySplitField(lay, newlay, field)

Arguments

lay

a Layout object.

newlay

a Layout object used to split a field from lay.

field

id of a field from lay.

Examples

Run this code
# NOT RUN {
l1 <- layCreate(matrix(c(1:4), ncol = 2), widths = c(4, 1))
l2 <- layCreate(matrix(c(1:4), ncol = 2), widths = c(1, 1))
l3 <- laySplitField(l1, l2, 2)
layShow(l3)

# }

Run the code above in your browser using DataLab