completegrid: Complete a table grid

View source: R/completegrid.R

completegridR Documentation

Complete a table grid

Description

Create all combinations of selected columns and merge them back to the input.

Usage

completegrid(data, cols, fill = list())

Arguments

data

A data frame or data table.

cols

Character vector of columns to complete across.

fill

Named list of values used to fill missing cells.

Value

A basetable containing the completed grid.


basetable documentation built on Sept. 18, 2026, 9:13 a.m.