I'm running into issues trying to script making a Tabulate object into a new data table. I've tried both syntaxes below, but neither creates the table. I'm using this as one step in a larger workflow.
t2 = tbl << Tabulate(
Add Table(
Column Table( Grouping Columns( :Treatment ) ),
Row Table(
Analysis Columns(
:"Attribute 1"n,
:"Attribute 2"n,
:"Attribute 3"n,
:"Attribute 4"n,
:"Attribute 5"n, :"Attribute 6"n,
:"Attribute 7"n, :"Attribute 8"n,
:"Attribute 9"n,
:"Attribute 10"n, :"Attribute 11"n
),
Statistics( Mean )
)
),
Local Data Filter(
Mode( Show( 0 ) ),
Add Filter( columns( :A or B), Where( :A or B == "A" ) )
),
)) << Make Into Data Table();
and
t2 = tbl << Tabulate(
Add Table(
Column Table( Grouping Columns( :Treatment ) ),
Row Table(
Analysis Columns(
:"Attribute 1"n,
:"Attribute 2"n,
:"Attribute 3"n,
:"Attribute 4"n,
:"Attribute 5"n, :"Attribute 6"n,
:"Attribute 7"n, :"Attribute 8"n,
:"Attribute 9"n,
:"Attribute 10"n, :"Attribute 11"n
),
Statistics( Mean )
)
),
Local Data Filter(
Mode( Show( 0 ) ),
Add Filter( columns( :A or B), Where( :A or B == "A" ) )
),
));
Wait(1);
t2 << Make Into Data Table();
I'm on JMP 17.2.