Ri: Ottenere il testo FrameboxPer Jackknife Distances puoi prima salvare le distanze nella tabella dei dati e quindi ottenere il valore della proprietà della colonna "Valore Jackknife" Valori previsti di Jackknife .
Oppure puoi ottenere il valore di seg della linea dal grafico
names default to here(1);
dt = open("$SAMPLE_DATA/Blood Pressure.jmp");
myrpt = Multivariate(
Y( :BP 8M, :BP 12M, :BP 6M, :BP 8W, :BP 12W, :BP 6W, :BP 8F, :BP 12F, :BP 6F ),
Estimation Method( "Row-wise" ),
Scatterplot Matrix( 1 ),
Jackknife Distances( 1 ),
SendToReport(
Dispatch( {}, "Correlations", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Scatterplot Matrix", OutlineBox, {Close( 1 )} )
)
);
frame = Report(myrpt)[Framebox(82)];
seg = (frame << Find Seg(Line Seg(1)));
seg << get y values;
Ri: Ottenere il testo Frameboxnames default to here(1);
dt = open("$SAMPLE_DATA/Blood Pressure.jmp");
myrpt = Multivariate(
Y( :BP 8M, :BP 12M, :BP 6M, :BP 8W, :BP 12W, :BP 6W, :BP 8F, :BP 12F, :BP 6F ),
Estimation Method( "Row-wise" ),
Scatterplot Matrix( 1 ),
Jackknife Distances( 1 ),
SendToReport(
Dispatch( {}, "Correlations", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Scatterplot Matrix", OutlineBox, {Close( 1 )} )
)
);
myrpt << Jackknife Distances( 1, Save Jackknife Distances );
jd1 = dt:Jackknife Distances << get property("Jackknife Value");
show(jd1);Questo è un modo alternativo per ottenere il valore che cerco.Grazie per avermi guidato verso le proprietà della colonna, @jthi !
Ottenere il testo FrameboxCiao,
Voglio ottenere il testo da un framebox, ma non ho capito la sintassi per farlo. Qualcuno può aiutare?
Ho adattato lo script da questo thread, ma trovo che non sembra funzionare per quello che sto cercando.
https://community.jmp.com/t5/Discussions/JSL-Retrieve-Selected-Frame-Box/mp/14552
Ho anche un altro script che prende i numeri dallo strumento grafico del profiler, e l'ho adattato, ma penso di non averlo modificato correttamente.
Ecco un esempio di seguito.
names default to here(1);
dt = open("$SAMPLE_DATA/Blood Pressure.jmp");
myrpt = Multivariate(
Y( :BP 8M, :BP 12M, :BP 6M, :BP 8W, :BP 12W, :BP 6W, :BP 8F, :BP 12F, :BP 6F ),
Estimation Method( "Row-wise" ),
Scatterplot Matrix( 1 ),
Jackknife Distances( 1 ),
SendToReport(
Dispatch( {}, "Correlations", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Scatterplot Matrix", OutlineBox, {Close( 1 )} )
)
);
myrpt << Show tree structure;
// Try 1
mynum1 = myrpt[ Framebox(83) ] << Get text; // Send error
show( mynum1 );
// Try 2
mynum2 = Num( Report( myrpt )["Multivariate", Framebox( 83 )] << Get Text );
show( mynum2 ); // Empty
// Try 3
mynum3 = Num( Report( myrpt )["Jackknife Distances", Framebox( 83 )] << Get Text ); // Send error
show( mynum3 );
report( myrpt ) << Close report;


Esiste una guida su come ottenere dati da diverse parti della struttura ad albero?
Automazione e scriptingfinestreRe: Ottenere il testo FrameboxQuando show(seg), viene restituito seg = DisplaySeg[];. Sai di cosa si tratta? Sto cercando il valore UCL, o l'intera stringa, perché è facile estrarre ciò di cui ho bisogno.
Quando modifico il mio Try 1, nynum1 finisce vuoto. Sai perché? Sembra che il framebox venga trovato, ma non viene restituito nulla.
mynum1 = report(myrpt)[ Framebox(83) ] << Get text;
show( mynum1 );