一方向自動化観察 | Parameter_1 | パラメータ_2 | ….. | Parameter_N | セットアップ[EXP / CONTROL] |
1 | | | | | |
。 | | | | | |
n | | | | | |
位置ごとにフィットyのスクリプトを自動化するにはどうすればよいですか?
私の目的は、相関プロットのすべてのパラメーターを動的にスクリプト化し、それをパワーポイントに追加することですか?
Y:Parameter_1 [EXP]
X:Parameter_1 [CONTROL]
再:ワンウェイ自動化希望することを実行するためのJSLは非常に単純です。 複雑さの唯一の項目は、パラメーター名とコントロール名のリストのセットアップです。
names default to here(1);
dt=open("$SAMPLE_DATA/Blood Pressure.jmp");
// Get the column names
// As with your example, the last column is the control
colNamesList = dt << get column names(string,continuous);
// Get the name of the control column from the last element
// in the colNamesList
theControl = colNamesList[N Items(colNamesList)];
// Delete the control from the colNamesList
remove from( colNamesList, -1, 1 );
// Run the Analysis
biv = Bivariate( Y( eval(colNamesList) ), X( eval(theControl) ) );
biv << Save Presentation("$TEMP/Correlations.pptx", append);
open("$TEMP/Correlations.pptx");