Learn R Programming

extraTrees (version 1.0.5)

toRMatrix: Utility function for converting Java matrix to R matrix (matrix of doubles).

Description

Internal function used for converting a Matrix object from Java to an R matrix. Matrix class is a custom Java class used for storing matrices by the implementation of ExtraTrees in Java.

Usage

toRMatrix( javam )

Arguments

javam
Java matrix (Matrix class).

Value

R (double) matrix with the same contents as the input.