powered by
append() row-combines multiple datasets of the same column names.
append()
append(data, ...)
data.frame
one or multiple data.frame
A single or multiple datasets can be appended.
The appending datasets must have at least one variable name which is there in the master dataset.
The order of variables of the appending datasets is automatically set based on the variable arrangement of the master dataset.
# NOT RUN { x <- append(infert[, -c(3,4)], infert[, -5], infert[, -6]) ## codebook(x) # } # NOT RUN { ## if no variables are matched, ERROR append(infert, iris) # } # NOT RUN { # }
Run the code above in your browser using DataLab