|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
WRAPPED_TYPE - underlying type of the used back-end, see RObjpublic interface RDataFrame<WRAPPED_TYPE>
Interface for a RDataFrame Object that extends RObj.
| Method Summary | |
|---|---|
Object |
get(int row,
int col)
Returns the element at the specified position in this data frame. |
RObj |
getCol(int i)
|
RVectorFactor |
getCol(String name)
|
int |
getColIndex(String name)
Returns the index of the column with the specified name in this data frame, or -1 if this data frame does not contain such a column. |
String |
getColName(int i)
Returns the name of the specified column. |
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 data frame. |
int |
getRowCount()
Returns the number of rows in the data frame. |
int |
getRowIndex(String name)
Returns the index of the row with the specified name in this data frame, or -1 if this data frame does not contain such a row. |
String |
getRowName(int i)
Returns the name of the specified row. |
String[] |
getRowNames()
Returns the names of the rows. |
List<String> |
getRowNamesAsList()
Returns the names of the rows. |
| 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()
String getRowName(int i)
i - index of the row
String getColName(int i)
i - index of the column
int getRowIndex(String name)
name - name of the row
int getColIndex(String name)
name - name of the column
RObj getCol(int i)
RVectorFactor getCol(String name)
Object get(int row,
int col)
row - row of the element to returncol - column of the element to return
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||