R/splitField.R
lay_split_field.Rd
Split a selected field from layout using a schema from another layout.
lay_split_field(lay, newlay, field) laySplitField(lay, newlay, field)
lay | a Layout object. |
---|---|
newlay | a Layout object used to split a field from |
field | id of a field from |
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)