Learn R Programming

Epi (version 2.19)

merge.data.frame: Merge data frame with a Lexis object

Description

Merge two data frames, or a data frame with a Lexis object.

Usage

# S3 method for data.frame
merge(x, y, ...)

Arguments

x, y

data frames, or objects to be coerced into one

...

optional arguments for the merge method

Value

A merged Lexis object or data frame.

Details

This version of merge.default masks the one in the base. It ensures that, if either x or y is a Lexis object, then merge.Lexis is called.

See Also

Lexis