File: as.gtable.Rd

package info (click to toggle)
r-cran-gtable 0.3.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 544 kB
  • sloc: sh: 8; makefile: 5
file content (30 lines) | stat: -rw-r--r-- 745 bytes parent folder | download
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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gtable.R
\name{as.gtable}
\alias{as.gtable}
\alias{as.gtable.grob}
\title{Convert to a gtable}
\usage{
as.gtable(x, ...)

\method{as.gtable}{grob}(x, widths = NULL, heights = NULL, ...)
}
\arguments{
\item{x}{An object to convert.}

\item{...}{Arguments forwarded to methods.}

\item{widths, heights}{Scalar unit setting the size of the table. Defaults
to \code{\link[grid:grobWidth]{grid::grobWidth()}} and \code{\link[grid:grobWidth]{grid::grobHeight()}} of \code{x} respectively.}
}
\value{
A gtable object
}
\description{
Convert to a gtable
}
\section{Methods (by class)}{
\itemize{
\item \code{as.gtable(grob)}: Creates a 1-cell gtable containing the grob.

}}