customLayout (version 0.3.0)

lay_split_field: 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

lay_split_field(lay, newlay, field)

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 <- lay_new(matrix(c(1:4), ncol = 2), widths = c(4, 1))
l2 <- lay_new(matrix(c(1:4), ncol = 2), widths = c(1, 1))
l3 <- lay_split_field(l1, l2, 2)
lay_show(l3)

# }

Run the code above in your browser using DataLab