Learn R Programming

datadr (version 0.8.6.1)

as.data.frame.ddf: Turn 'ddf' Object into Data Frame

Description

Rbind all the rows of a 'ddf' object into a single data frame

Usage

# S3 method for ddf
as.data.frame(x, row.names = NULL, optional = FALSE,
  keys = TRUE, splitVars = TRUE, bsvs = FALSE, ...)

Arguments

x

a 'ddf' object

row.names

passed to as.data.frame

optional

passed to as.data.frame

keys

should the key be added as a variable in the resulting data frame? (if key is not a character, it will be replaced with a md5 hash)

splitVars

should the values of the splitVars be added as variables in the resulting data frame?

bsvs

should the values of bsvs be added as variables in the resulting data frame?

additional arguments passed to as.data.frame

Examples

Run this code
# NOT RUN {
d <- divide(iris, by = "Species")
as.data.frame(d)
# }

Run the code above in your browser using DataLab