compareIgnoreOrder(model, comparison, transform = character(), equal = TRUE, ...)
"compareIgnoreOrder"(model, comparison, transform=character(), equal=TRUE, ignoreColOrder=FALSE, ignoreNameCase=FALSE, ...)
model
. compareEqual()
. "comparison"
.
Use isTRUE()
to determine whether the
comparison has succeeded.
For arrays, matrices, and tables, the dimensions are sorted (by dimnames). For data frames, the rows are sorted, not the columns.
compare
and
compareEqual
compareIgnoreOrder(1:10, 10:1)
Run the code above in your browser using DataLab