Utility function for converting an R matrix (standard matrix or SparseMatrix) to appropriate Java matrix object.
Internal function used for converting an R matrix to an appropriate object in Java. It uses toJavaMatrix() and toJavaCSMatrix() underneath and returns a reference to general matrix representation in Java of type Array2D (interface).
toJavaMatrix2D( m )
m |
matrix of numeric values. |
reference to Java matrix (dense or sparse) with the same contents as the input R matrix.
Jaak Simm
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.