Learn R Programming

manydata (version 1.0.1)

compare_overlap: Compare the overlap between datasets in 'many' datacubes

Description

Compare the overlap between datasets in 'many' datacubes

Usage

compare_overlap(datacube, dataset = "all", key = "manyID")

Value

compare_overlap() returns a tibble with information about each dataset and the number of overlapping observations.

Arguments

datacube

A datacube from one of the many packages.

dataset

A dataset in a datacube from one of the many packages. By default "all". That is, all datasets in the datacube are used. To select two or more datasets, please declare them as a vector.

key

A variable key to join datasets. 'manyID' by default.

Details

compare_overlap() compares the overlap between "key" observations in each dataset in a 'many' datacube.

See Also

Other compare_: compare_categories(), compare_dimensions(), compare_missing()

Examples

Run this code
# \donttest{
compare_overlap(emperors, key = "ID")
plot(compare_overlap(emperors, key = "ID"))
# }

Run the code above in your browser using DataLab