Learn R Programming

mice (version 2.2)

rbind.mids: Rowwise combination of a mids object.

Description

Append mids objects by rows

Usage

rbind.mids(x, y, ...)

Arguments

x
A mids object.
y
A mids object or a data.frame, matrix, factor or vector.
...
Additional data.frame, matrix, vector or factor. These can be given as named arguments.

Value

  • An S3 object of class mids

Details

This function combines two mids objects rowwise into a single mids object or combines a mids object and a vector, matrix, factor or dataframe rowwise into a mids object. The number of columns in the (incomplete) data x$data and y (or y$data if y is a mids object) should be equal. If y is a mids object then the number of imputations in x and y should be equal.

References

van Buuren S and Groothuis-Oudshoorn K (2011). mice: Multivariate Imputation by Chained Equations in R. Journal of Statistical Software, 45(3), 1-67. http://www.jstatsoft.org/v45/i03/

See Also

cbind.mids, ibind, mids