-
Notifications
You must be signed in to change notification settings - Fork 5
/
lay_bind_col.Rd
36 lines (31 loc) · 941 Bytes
/
lay_bind_col.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Layout.R
\name{lay_bind_col}
\alias{lay_bind_col}
\alias{layColBind}
\title{Take two CustomLayout objects and combine by rows.}
\usage{
lay_bind_col(x, y, widths = c(1, 1), addmax = TRUE)
layColBind(x, y, widths = c(1, 1), addmax = TRUE)
}
\arguments{
\item{x}{object of class CustomLayout.}
\item{y}{object of class CustomLayout.}
\item{widths}{a vector with relative widths used in combining
the x and y layouts.}
\item{addmax}{if true (default) the ids of the plots in the second
layout will be shifted by the number of plots in
the first layout.}
}
\value{
\code{CustomLayout} object created from combining two CustomLayout.
}
\description{
Take two CustomLayout objects and combine by rows.
}
\examples{
l1 = lay_new(matrix(c(1:2), ncol = 2),widths=c(4,1))
l2 = lay_new(matrix(c(1:4), ncol = 2),widths=c(1,1))
lb = lay_bind_col(l1,l2)
lay_show(lb)
}