Below is JSL to make JMP table.
dt = New Table( "Floor Example",
New Column( "Unit ID", Character, Nominal ),
New Column( "Data1", Numeric, Continuous, Format( "Best", 12 ) ),
New Column( "Data2", Numeric, Continuous, Format( "Best", 12 ) ),
New Column( "Data3", Numeric, Continuous, Format( "Best", 12 ) ),
);
dtdata={
{Unit ID = "A", Data1 = 1.1, Data2 = 2.1, Data3 = 3.1},
{Unit ID = "B", Data1 = 1.2, Data2 = 2.2, Data3 = 3.2},
{Unit ID = "C", Data1 = 1.3, Data2 = 2.3, Data3 = 3.3}
};
dt << Add Rows( dtdata );
I'd like to insert multiple data without defining column name as follows.
dtdata={
{"A", 1.1, 2.1, 3.1},
{"B", 1.2, 2.2, 3.2},
{"C", 1.3, 2.3, 3.3}
};
Above is not right answer. Please let me know right JSL syntax.