hi,
I'm trying to create an continuous distribution using the column list store in "collist"
it show below error and the distribution did not come out.
mylifemyrule_1-1689670403008.png
Names Default To Here( 1 );
dt=Open( "C:\2023 Project\Try.jmp" );
//dt = Open( "$SAMPLE_DATA/Blood Pressure.jmp" );
ListofColumnNames2= dt << get column names();
show(ListofColumnNames2);
collist = {};
For( i=3, i <= N Items(ListofColumnNames2), i++,
Insert Into( collist, ListofColumnNames2[i] );
);
show(collist);
dist = dt << Distribution(
Stack( 1 ),
Continuous Distribution(
Column( evallist(collist) ),
Horizontal Layout( 1 ),
Vertical( 0 ),
Process Capability( Use Column Property Specs, Process Capability Analysis )
)
);
You might have to move the column list outside the Continuous Distribution
Names Default To Here(1);
dt = Open( "$SAMPLE_DATA/Blood Pressure.jmp" );
ListofColumnNames2 = dt << get column names(Continuous, "String");
collist = ListofColumnNames2[3::N Items(ListofColumnNames2)];
dist = dt << Distribution(
Stack(1),
Column(Eval(collist)),
);
Scripting Index also provides example like this
jthi_0-1689670934786.png
You might have to move the column list outside the Continuous Distribution
Names Default To Here(1);
dt = Open( "$SAMPLE_DATA/Blood Pressure.jmp" );
ListofColumnNames2 = dt << get column names(Continuous, "String");
collist = ListofColumnNames2[3::N Items(ListofColumnNames2)];
dist = dt << Distribution(
Stack(1),
Column(Eval(collist)),
);
Scripting Index also provides example like this
jthi_0-1689670934786.png
Thank @jthi. Its work. Appreciate your help :)