## S3 method for class 'hyperframe':
as.data.frame(x, row.names = NULL,
optional = FALSE, ...,
discard=TRUE, warn=TRUE)
"hyperframe"
).as.data.frame
controlling what happens to row names.as.data.frame
for the class of hyperframes (see hyperframe
. If discard=TRUE
, any columns of the hyperframe that
do not contain atomic data will be removed (and a warning will
be issued if warn=TRUE
).
If discard=FALSE
, then such columns are converted to
strings indicating what class of data
they originally contained.
h <- hyperframe(X=1:3, Y=letters[1:3], f=list(sin, cos, tan))
as.data.frame(h, discard=TRUE, warn=FALSE)
as.data.frame(h, discard=FALSE)
Run the code above in your browser using DataLab