org.omegahat.Environment.DataStructures
Interface BasicFrame

All Known Subinterfaces:
DataFrame

public interface BasicFrame

Primitive, top-level interface for defining elementary methods for data frame concepts.


Method Summary
 Variable getVariable(java.lang.String name)
           
 java.lang.String[] getVariableNames()
          Return a (ordered) list of the names of the variables contained in this collection.
 long numObservations()
          Return the number of observations available in each of the variables.
 long numVariables()
          Return the number of variables contained in this frame.
 java.lang.String[] rowNames()
          Returns an array of the identifiers of the row names.
 

Method Detail

getVariableNames

public java.lang.String[] getVariableNames()
Return a (ordered) list of the names of the variables contained in this collection.

numVariables

public long numVariables()
Return the number of variables contained in this frame.

numObservations

public long numObservations()
Return the number of observations available in each of the variables. This assumes that the variables have the same number of records/observations.

rowNames

public java.lang.String[] rowNames()
Returns an array of the identifiers of the row names.

getVariable

public Variable getVariable(java.lang.String name)