id

0th

Percentile

Compute a unique numeric id for each unique row in a data frame.

Properties:

  • order(id) is equivalent to do.call(order, df)
  • rows containing the same data have the same value
  • if drop = FALSE then room for all possibilites

Keywords
internal
Usage
id(.variables, drop = FALSE)
Arguments
.variables
list of variables
drop
drop unusued factor levels?
Value

a numeric vector with attribute n, giving total number of possibilities

Aliases
  • id
Documentation reproduced from package dplyr, version 0.4.0.9000, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.