https://github.com/hadley/dplyr
Raw File
Tip revision: 73a8ced390b2c8d48c2b7de186c2921e9d2f1cd7 authored by Romain Francois on 08 May 2019, 07:27:08 UTC
update cran-comments for rc 0.8.1
Tip revision: 73a8ced
id.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/id.r
\name{id}
\alias{id}
\title{Compute a unique numeric id for each unique row in a data frame.}
\usage{
id(.variables, drop = FALSE)
}
\arguments{
\item{.variables}{list of variables}

\item{drop}{drop unused factor levels?}
}
\value{
a numeric vector with attribute n, giving total number of
possibilities
}
\description{
Properties:
\itemize{
\item \code{order(id)} is equivalent to \code{do.call(order, df)}
\item rows containing the same data have the same value
\item if \code{drop = FALSE} then room for all possibilities
}
}
\keyword{internal}
back to top