powered by
Helper function that combines data.frames by row and fills with . missing values.
.
rbind_fill(..., fill = ".")
Input dataframes.
What use to fill? Default is "."
"."
A data frame.
# NOT RUN { df1 <- data.frame(v1 = c(1, 2), v2 = c(2, 3)) df2 <- data.frame(v3 = c(4, 5)) rbind_fill(df1, df2) rbind_fill(df1, df2, fill = "NA") # } # NOT RUN { # }
Run the code above in your browser using DataLab