The R Project SVN R

Rev

Rev 61168 | Rev 65955 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61168 Rev 61433
Line 49... Line 49...
49
}
49
}
50
\details{
50
\details{
51
  \code{merge} is a generic function whose principal method is for data
51
  \code{merge} is a generic function whose principal method is for data
52
  frames: the default method coerces its arguments to data frames and
52
  frames: the default method coerces its arguments to data frames and
53
  calls the \code{"data.frame"} method.
53
  calls the \code{"data.frame"} method.
54
  
54
 
55
  By default the data frames are merged on the columns with names they
55
  By default the data frames are merged on the columns with names they
56
  both have, but separate specifications of the columns can be given by
56
  both have, but separate specifications of the columns can be given by
57
  \code{by.x} and \code{by.y}.  The rows in the two data frames that
57
  \code{by.x} and \code{by.y}.  The rows in the two data frames that
58
  match on the specified columns are extracted, and joined together.  If
58
  match on the specified columns are extracted, and joined together.  If
59
  there is more than one match, all possible matches contribute one row
59
  there is more than one match, all possible matches contribute one row