public class DataFrame extends AbstractRectangularDataStructure implements SplusObject, java.io.Serializable
DataFrame
object.Constructor and Description |
---|
DataFrame()
The default constructor.
|
DataFrame(java.lang.String[] rowNames,
java.lang.String[] colNames,
java.lang.Object... columnObjects)
A constructor that creates a data frame using row names, column names, and
and column objects.
|
DataFrame(java.lang.String name,
java.util.List<Attr> attrs,
java.util.List<Column> columns,
RowNames rowNames)
Constructor that sets all the data frame attributes.
|
DataFrame(java.lang.String name,
java.lang.Object... columnObjects)
Constructor that creates a data frame using a set of arrays
representing its columns.
|
DataFrame(java.lang.String name,
java.lang.String[] rowNames,
java.lang.String[] colNames,
java.lang.Object... columnObjects)
Constructor that creates a data frame using a name and a set of arrays
representing its columns.
|
getAttrs, getColumnAt, getColumns, getDimAttribute, getDimnamesAttribute, getName, getNumCols, getNumRows, getRowNames, setAttrs, setColumns, setName, setNumCols, setNumRows, setRowNames
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, setName
public DataFrame(java.lang.String name, java.util.List<Attr> attrs, java.util.List<Column> columns, RowNames rowNames)
name
- The name of the data frame.attrs
- A list of data frame attributes.columns
- The data frame's list of Column
objects.rowNames
- The data frame {@link RowNames).public DataFrame(java.lang.String name, java.lang.String[] rowNames, java.lang.String[] colNames, java.lang.Object... columnObjects)
name
- The data frame name.columnObjects
- A list of arrays, each of which becomes a column in the data frame.public DataFrame(java.lang.String[] rowNames, java.lang.String[] colNames, java.lang.Object... columnObjects)
rowNames
- An array of row names.colNames
- An array of column namescolumnObjects
- A list of arrays, each of which becomes a column in the data frame.public DataFrame(java.lang.String name, java.lang.Object... columnObjects)
name
- The data frame name.columnObjects
- A list of arrays, each of which becomes a column in the data frame.public DataFrame()