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