Report () 中參數的正確語法我在 JMP13 上,我明白從這裡除非我使用列表,否則我不能從一個函數中獲得多個輸出。 所以我整理了以下腳本並且它按預期工作。
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>
但是,以下不起作用
toPass= Report(dist[1])[Outline Box("weight" ), Outline Box( "Summary Statistics" ), Table Box( 1 ), Number Col Box(1)]<< get (1);
我想知道在 Report() 中使用參數的語法是否有誤?
圖形腳本回复:報告 () 中參數的正確語法我懷疑 JMP 錯誤地解釋了語法,因為
report( dist[1] )
是在平台中指定第二個變量或 By 時引用第二個報告分支的語法。
我已經能夠使用變通方法來做你想做的事,使用 Eval() 函數
toPass= Report( Eval( dist[1] ) )[Outline Box("weight" ), Outline Box( "Summary Statistics" ), Table Box( 1 ), Number Col Box(1)]<< get (1);
回复:報告 () 中參數的正確語法嘗試在您的函數中添加 Eval List:
op = EvalList({distChart1, distChart2});