Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ggplot2 (version 3.4.0)

wrap_dims: Arrange 1d structure into a grid

Description

Arrange 1d structure into a grid

Usage

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

Value

the grid dimension as a vector with nrow and then ncol

Arguments

n

length of structure

nrow, ncol

desired dimensions for the grid