|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RMatrix<WRAPPED_TYPE,ARR_TYPE,EL_TYPE>
| Method Summary | |
|---|---|
EL_TYPE |
get(int row,
int col)
Returns the element at the specified position in this matrix. |
String[] |
getColNames()
Returns the names of the columns. |
List<String> |
getColNamesAsList()
Returns the names of the columns. |
int |
getColumnCount()
Returns the number of columns in the matrix. |
ARR_TYPE |
getData()
|
EL_TYPE[][] |
getDataAsObjArr()
|
int |
getRowCount()
Returns the number of rows in the matrix. |
String[] |
getRowNames()
Returns the names of the rows. |
List<String> |
getRowNamesAsList()
Returns the names of the rows. |
boolean |
isNA(int row,
int col)
Returns true if the specified element is NA. |
| Methods inherited from interface org.af.jhlir.call.RObj |
|---|
asRChar, asRDataFrame, asREnvironment, asRFactor, asRInteger, asRList, asRLogical, asRMatrixDouble, asRNumeric, asS3Obj, getWrapped |
| Method Detail |
|---|
int getRowCount()
int getColumnCount()
String[] getRowNames()
String[] getColNames()
List<String> getRowNamesAsList()
List<String> getColNamesAsList()
ARR_TYPE getData()
EL_TYPE get(int row,
int col)
row - row of the element to returncol - column of the element to return
EL_TYPE[][] getDataAsObjArr()
boolean isNA(int row,
int col)
row - row index of the element to test for NAcol - column index of the element to test for NA
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||