단방향 자동화관측 | Parameter_1 | Parameter_2 | … .. | Parameter_N | 설정 [EXP / CONTROL] |
1 | | | | | |
. | | | | | |
엔 | | | | | |
x를 기준으로 맞춤 y 스크립팅을 자동화하려면 어떻게해야합니까?
내 목표는 상관 관계 플롯에 대한 모든 매개 변수를 통해 동적으로 스크립트를 작성하여 파워 포인트에 추가하는 것입니까?
Y : Parameter_1 [EXP]
X : 매개 변수 _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");