rbind_datasets: Combine datasets 'x' and 'y' by row taking care of making all...

View source: R/rbind_datasets.R

rbind_datasetsR Documentation

Combine datasets x and y by row taking care of making all sets unique.

Description

Combine datasets x and y by row taking care of making all sets unique.

Usage

rbind_datasets(x, y)

Arguments

x, y

matrix|data.frame()
Each dataset has at least three columns, the last one is the set of each point. See also read_datasets().

Value

⁠matrix()|⁠data.frame()'
A dataset.

Examples

x <- data.frame(f1 = 5:10, f2 = 10:5, set = 1:6)
y <- data.frame(f1 = 15:20, f2 = 20:15, set = 1:6)
rbind_datasets(x,y)

moocore documentation built on Aug. 8, 2025, 6:12 p.m.