public class FrameUtils
extends java.lang.Object
Constructor and Description |
---|
FrameUtils() |
Modifier and Type | Method and Description |
---|---|
static Frame |
frame(java.lang.String[] names,
double[]... rows)
Create a new frame based on given row data.
|
static Frame |
frame(java.lang.String[] names,
Vec[] vecs)
Create a new frame based on given column data.
|
static Frame |
frame(java.lang.String name,
Vec vec)
Create a frame with single column represented by given vector.
|
static Frame |
parseFrame(Key okey,
java.io.File... files)
Parse given file into the form of frame represented by the given key.
|
public static Frame frame(java.lang.String name, Vec vec)
name
- name of the columnvec
- column datapublic static Frame frame(java.lang.String[] names, Vec[] vecs)
names
- name of frame columnsvecs
- columns data represented by individual datapublic static Frame frame(java.lang.String[] names, double[]... rows)
names
- names of frame columnsrows
- data given in the form of rows