Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

df2TS

The opposite of as.data.frame


Description

Convert a data.frame to a TidySet by first using the relations. It requires the original TidySet in order to convert it back to resemble the position of the columns.

Usage

df2TS(.data = NULL, df)

Arguments

.data

The original TidySet

df

The flattened data.frame

Value

A TidySet object

See Also


BaseSet

Working with Sets the Tidy Way

v0.0.16
MIT + file LICENSE
Authors
Lluís Revilla Sancho [aut, cre] (<https://orcid.org/0000-0001-9747-2570>), Zebulun Arendsee [rev], Jennifer Chang [rev]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.