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