org.omegahat.Environment.DataStructures
Interface DataFrame

All Superinterfaces:
BasicFrame
All Known Implementing Classes:
BasicDataFrame

public interface DataFrame
extends BasicFrame


Method Summary
 BasicFrame subsetObservations(int[] whichRows)
          Create a new data frame consisting of the rows identified in the array passed to this method.
 BasicFrame subsetObservations(int start, int which)
          Get the subset of the data frame of the continguous rows starting at start and ending at which, inclusive.
 
Methods inherited from interface org.omegahat.Environment.DataStructures.BasicFrame
getVariable, getVariableNames, numObservations, numVariables, rowNames
 

Method Detail

subsetObservations

public BasicFrame subsetObservations(int[] whichRows)
Create a new data frame consisting of the rows identified in the array passed to this method.

subsetObservations

public BasicFrame subsetObservations(int start,
                                     int which)
Get the subset of the data frame of the continguous rows starting at start and ending at which, inclusive.