ColumnReader | R Documentation |
Create a new instance of the ColumnReader class for reading column-oriented data.
ColumnReader(nrow, ncol, reader)
nrow |
Integer specifying number of rows in data |
ncol |
Integer specifying number of columns in data |
reader |
Function that takes column indices and returns matrix |
An object of class ColumnReader
## Not run:
reader_func <- function(cols) {
matrix(rnorm(100 * length(cols)), 100, length(cols))
}
col_reader <- ColumnReader(nrow = 100L, ncol = 10L, reader = reader_func)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.