Skip to contents

Find the number of columns that will fit the specified number of groups

Usage

find_ncols(n_groups, min_cols = 3, max_cols = 5)

Arguments

n_groups

integer: Number of groups to plot

min_cols

integer: Minimum number of columns to use

max_cols

integer: Maximum number of columns to use

Value

integer: Number of columns to use