misplaced.data.frame | R Documentation |
Indexes records whose relative positions would change if sorted, i.e. records that would not have the same nearest neighbors (before and after). unsorted() returns the records corresponding to this index.
## S3 method for class 'data.frame'
misplaced(x, ...)
x |
data.frame |
... |
optional grouping columns (named arguments are ignored) |
logical with length nrow(x)
na
dup
Other unsorted:
misplaced()
,
unsorted.data.frame()
,
unsorted()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.