Oneway AutomateObservación | Parámetro_1 | Parámetro_2 | ... .. | Parámetro_N | CONFIGURACIÓN [EXP / CONTROL] |
1 | | | | | |
. | | | | | |
norte | | | | | |
¿Cómo automatizo la secuencia de comandos de fit y by x by position?
mi objetivo es realizar una secuencia de comandos dinámica a través de todos los parámetros para sus gráficos de correlación y agregarlo a powerpoint?
Y: Parámetro_1 [EXP]
X: Parámetro_1 [CONTROL]
Re: Oneway AutomateEl JSL para realizar lo que quieres es bastante sencillo. El único elemento de cualquier complejidad es la configuración de la lista de nombres de parámetros y el nombre del control.
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");