fillin: Make a data.frame Rectangular by filling missing records
Description
This function produces a complete rectangularization by adding observations with missing data so that all combinations (interactions) of the specified variables exist.
Usage
fillin(x, by, fill = NA)
Arguments
x
a data frame.
by
a vector of at least 2 variables from the data frame. If missing all variables in the data frame will be used.