Skip to content

Commit

Permalink
Improve match_df docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Mar 2, 2011
1 parent 2076b8f commit 13e4e00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions R/helper-match-df.r
Expand Up @@ -4,9 +4,9 @@
#' and want to subset the original data by a characteristic of the subset.
#'
#' @param x data frame to subset.
#' @param match data frame defining matching rows.
#' @param on variables to match on - by default all variables common to both
#' data frames will be used.
#' @param y data frame defining matching rows.
#' @param on variables to match on - by default will use all variables common
#' to both data frames.
#' @return a data frame
#' @seealso \code{\link{join}} to combine the columns from both x and y
#' @export
Expand Down
6 changes: 3 additions & 3 deletions man/match_df.Rd
Expand Up @@ -16,9 +16,9 @@
\seealso{\code{\link{join}} to combine the columns from both x and y}
\arguments{
\item{x}{data frame to subset.}
\item{match}{data frame defining matching rows.}
\item{on}{variables to match on - by default all variables common to both
data frames will be used.}
\item{y}{data frame defining matching rows.}
\item{on}{variables to match on - by default will use all variables common
to both data frames.}
}
\examples{longterm <- subset(count(baseball, "id"), freq > 25)
bb_longterm <- match_df(baseball, longterm)}

0 comments on commit 13e4e00

Please sign in to comment.