repaint.Rd
Fills missing data where known by other observations with the same id/index
repaint(df, id, var)
df | a dataframe |
---|---|
id | a string identifying a column in the dataframe for indexing |
var | a string identifying a column or columns in the dataframe to be filled |
a dataframe
# NOT RUN { myData <- repaint(myData, id="StatID", var=c("Area","Region") # }