merge.GADSdat {eatGADS}R Documentation

Merge two GADSdat objects into a single GADSdat object.

Description

Is a secure way to merge the data and the meta data of two GADSdat objects. Currently, only limited merging options are supported.

Usage

## S3 method for class 'GADSdat'
merge(x, y, by, all = TRUE, all.x = all, all.y = all, ...)

Arguments

x

GADSdat object imported via eatGADS.

y

GADSdat object imported via eatGADS.

by

A character vector.

all

A character vector (either a full join or an inner join).

all.x

See merge.

all.y

See merge.

...

Further arguments are currently not supported but have to be included for R CMD checks.

Details

If there are duplicate variables (except the variables specified in the by argument), these variables are removed from y. The meta data is joined for the remaining variables via rbind.

Value

Returns a GADSdat object.


[Package eatGADS version 1.1.0 Index]