orderedMerge: Merge Two Data Frames Keeping the Order of the First

View source: R/BGData.R

orderedMergeR Documentation

Merge Two Data Frames Keeping the Order of the First

Description

This is a simplified version of merge useful for merging additional data into a BGData object while keeping the order of the data in the BGData object.

Usage

orderedMerge(x, y, by = c(1L, 2L))

Arguments

x

Data frame

y

Data frame

by

Specifications of the columns used for merging. Defaults to the first two columns of the data frame, which traditionally has the family ID and the individual ID.

Value

Merged data frame

See Also

BGData-class for more information on the BGData class.


QuantGen/BGData documentation built on Sept. 30, 2023, 1:01 p.m.