Estoy en JMP13 y entiendo de aquí que no puedo tener múltiples salidas de una función a menos que use listas. Así que he creado el siguiente script y funciona como se esperaba.
Names Default To Here (1);
delete symbols ();
clear log ();
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
getDistChart = Function({ColName, _LSL, _USL}, {distChart},
New Window(""||ColName||" distribution",
distChart1 = dt <<DISTRIBUTION></DISTRIBUTION>
Sin embargo, lo siguiente no funciona
toPass= Report(dist[1])[Outline Box("weight" ), Outline Box( "Summary Statistics" ), Table Box( 1 ), Number Col Box(1)]<< get (1);
y me pregunto si estoy cometiendo un error en la sintaxis para usar un argumento en Report ().
Intente agregar Eval List dentro de su función:
op = EvalList({distChart1, distChart2});