rbind_datasets {moocore}R 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)

[Package moocore version 0.1.0 Index]