pass column as variable to function for use in distribution
Hi,
I'm trying to pass the column name to a function and then use it in the Distribution but it comes back with:
A command within the Distribution script was not recognized.
No data to analyze.
it's the Column( varB) line with-in the distribution.
Thanks,
Alex (on Jmp 8)
RuntheGraphs = function ({varB},
show (varB);
Distribution(
Uniform Scaling( 0 ),
Continuous Distribution(
Column( varB),
Horizontal Layout( 1 ),
Vertical( 0 ),
Count Axis( 1 ),
Show Counts( 1 ),
Outlier Box Plot( 0 )
),
Where( :IPRO_TPT_Completed == 1 )
)/*distribution*/
);
c="Cut Sheet";
RuntheGraphs(eval(c));
Message was edited by: alex