wrap_dims: Arrange 1d structure into a grid

View source: R/facet-wrap.R

wrap_dimsR Documentation

Arrange 1d structure into a grid

Description

Arrange 1d structure into a grid

Usage

wrap_dims(n, nrow = NULL, ncol = NULL)

Arguments

n

length of structure

nrow, ncol

desired dimensions for the grid

Value

the grid dimension as a vector with nrow and then ncol


tidyverse/ggplot2 documentation built on April 5, 2024, 8:37 a.m.