Automazione a senso unicoOsservazione | parametro_1 | Parameter_2 | ... .. | Parameter_N | SETUP [EXP / CONTROL] |
1 | | | | | |
. | | | | | |
n | | | | | |
Come automatizzo lo scripting di fit y per x per posizione?
il mio obiettivo è di scrivere dinamicamente tutti i parametri per i loro grafici di correlazione e aggiungerlo a powerpoint?
Y: Parameter_1 [EXP]
X: Parameter_1 [CONTROL]
Ri: Oneway AutomateLa JSL per eseguire ciò che desideri è piuttosto semplice. L'unico elemento di qualsiasi complessità è l'impostazione dell'elenco dei nomi dei parametri e del nome del controllo.
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");