fm.conv.R2FM | R Documentation |
If the R object is a matrix, byrow
determines how data in the generated
FlashR object is organized in memory.
fm.conv.R2FM(obj, byrow = FALSE)
obj |
a regular R object |
byrow |
a logical value to determine the data layout of a FlashR matrix. |
a FlashR object. If the input R object has 0 element,
fm.conv.R2FM
returns NULL
.
Da Zheng <dzheng5@jhu.edu>
vec <- fm.conv.R2FM(runif(100)) mat <- fm.conv.R2FM(matrix(runif(100), 100, 2))