File: wrap_dims.Rd

package info (click to toggle)
r-cran-ggplot2 3.4.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,748 kB
  • sloc: sh: 15; makefile: 5
file content (20 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/facet-wrap.r
\name{wrap_dims}
\alias{wrap_dims}
\title{Arrange 1d structure into a grid}
\usage{
wrap_dims(n, nrow = NULL, ncol = NULL)
}
\arguments{
\item{n}{length of structure}

\item{nrow, ncol}{desired dimensions for the grid}
}
\value{
the grid dimension as a vector with nrow and then ncol
}
\description{
Arrange 1d structure into a grid
}
\keyword{internal}