View source: R/read_write_omx.R
read_omx | R Documentation |
This function reads an entire matrix in an OMX file or portions of a matrix using indexing.
read_omx(file, name, row_index = NULL, col_index = NULL)
file |
Path name of the OMX file where the matrix resides. |
name |
Name of the matrix in the OMX file |
row_index |
An integer vector indicating the rows represented by
|
col_index |
The precise corrolary to |
An R matrix object containing the named data from the OMX file
omxfile <- omxr_example("skims.omx") mat <- read_omx(omxfile, "DIST") str(mat) read_omx(omxfile, "DIST", c(1,4,5), c(1,4,5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.