Rdocumentation
powered by
Learn R Programming
rgp (version 0.4-1)
embedDataFrame: Embed columns in a data frame
Description
Embeds the columns named
cols
in the data frame
x
into a space of dimension
dimension
.
Usage
embedDataFrame(x, cols = NULL, dimension = 1)
Arguments
x
The data frame containing the columns to embed.
cols
A vector a list of the names of the columns to embed.
dimension
The additional dimensions to generate when embedding.
Value
The data frame, augmented with embedded columns, shortended by
dimension
rows.