Arguments
source
A matrix, network, list or data.frame object or a vector which should be adjusted.
target
A matrix, network, list or data.frame object or a vector to which the source object is compared with regard to its labels.
remove
Should rows and columns that are not present in the target object be removed?
add
Should rows and columns that are present in the target object but not in the source object be added to the source object?
value
The value to be inserted if a new row or column is added. By default, new cells are filled with NA
values, but other sensible values may include -Inf
or 0
.
returnlabels
Return a list of added and removed row and column labels rather than the actual matrix, vector, or network object?