as.symDMatrix.matrix {symDMatrix} | R Documentation |
Coerce a Matrix to a symDMatrix Object
Description
This function creates a symDMatrix
from a numeric matrix that is
assumed to be symmetric.
Usage
## S3 method for class 'matrix'
as.symDMatrix(x, blockSize = 5000L, vmode = "double",
folderOut = randomString(), ...)
Arguments
x |
A symmetric numeric matrix. |
blockSize |
The number of rows and columns of each block. If |
vmode |
The vmode used to store the data in the |
folderOut |
A name for a folder where to store the data of the resulting
|
... |
Additional arguments (currently unused). |
Details
The input matrix is broken into blocks and each block is stored as an
ff_matrix
object. In addition, a metadata object called
symDMatrix.RData
is created to allow for easy reloading of the
symDMatrix
object.
Value
A symDMatrix
object.
See Also
load.symDMatrix
to reload the symDMatrix
object.
[Package symDMatrix version 2.1.1 Index]