Description Usage Arguments Details See Also Examples
Convert a data source or tbl to a data frame
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## S3 method for class 'RxXdfData'
as.data.frame(x, maxRowsByCols = NULL, row.names = NULL,
optional = TRUE, ...)
## S3 method for class 'RxDataSource'
as.data.frame(x, maxRowsByCols = NULL,
row.names = NULL, optional = TRUE, ...)
## S3 method for class 'RxFileData'
x$name
## S3 method for class 'RxFileData'
x[[name, maxRowsByCols = NULL, ...]]
## S3 method for class 'RxFileData'
pull(.data, var = -1)
|
x |
A data source object, or tbl wrapping the same. |
maxRowsByCols |
the maximum dataset size to convert, expressed in terms of rows times columns. Defaults to NULL, meaning no maximum. |
row.names, optional |
For compatibility with the |
... |
Other arguments to |
name |
The name of a column to extract from a data source object |
These are simple wrappers around rxDataStep
, with the check on the maximum table size turned off. You should ensure that you have enough memory for your data.
as.data.frame
converts a data source object (typically an Xdf file, but can also be any data source type that rxDataStep
supports) into a data frame. The pull
, $
and [[
methods extract a single column from a data source, as a vector.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.