Replaces NA
values in a data frame column set_name
with missing values
from full_set
for each unique combination of other columns.
Arguments
- x
data frame with columns of sets and parameters
- set_name
name of the set to complete
- full_set
character vector, named list, or data frame with all possible combinations of the
set_name
elements and other columns. If character vector, it is converted to a data frame with one column. If names list, theset_name
is taken from the names of the list. If data frame, all columns matchingx
are considered as a complete set.- ...