やあ。 必要な方法で配置された可変量の一方向グラフで新しいジャーナルを作成するスクリプトを作成したいと思います。私は複数の方法を試しましたが、それを理解できません。誰かが私を助けることができますか?ありがとう!
次のようなものを書き込もうとしています:
Hlist_MSG1 = "HList Box(( oneway_List[";
Hlist_MSG2 = "] << Report) << Clone Box, ( noz_stat[";
Hlist_MSG3 = "] < Hlist_MSG4 = "] << クローン ボックス)";
nw = New Window(name, <
vlb = V リスト ボックス(
for(i=1, i<=n_Copies, i++,
evallist({Hlist_MSG1,
私;
Hlist_MSG2;
私;
Hlist_MSG3;
1;
Hlist_MSG4;
if(i
));
またはこのように:
HLIST_MSG_LST[i] = "HList Box(( oneway_List[" || char(i) || "] << Report) << Clone Box, ( noz_stat[" || char(i) || "] <
subs_list = {};
for(i=1, i<=n_Copies, i++, subs_list [i] = "num("||char(i)||")");
num_list = {};
for(i=1, i<=n_Copies, i++, num_list [i] = i);
nw = New Window(name, <
vlb = V リスト ボックス(
for(i=1, i<=n_Copies, i++,
eval(parse(substitute(HLIST_MSG_LST[i],subs_list[i],num_list[i])));
if(i
));
気にしないでください。実装は簡単だったので、来週まで待つ必要はありません。
できます。
ありがとう!!
ありがとうジム、来週までこれを試して実装することはできないので、それから更新します。しかし、これは私を助けてくれるはずです。
これは、出力を構築するのがはるかに簡単であることがわかった方法論です。私はそれがあなたがやろうとしていることの後に続くと信じていますが、より簡単に作業でき、従うのも簡単です.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Semiconductor Capability.jmp" );
// Create some structures to hold the results
mainBox = V List Box();
theHBox = H List Box();
// Get the column names for the analysis
colList = dt << Get Column Names( continuous );
// Loop across the columns and generate the analyis, placing
// 4 analyses into an H List Box(), and then when all 4 are
// in the H List Box(), add it to the main V List Box();
For( i = 1, i <= 25, i++,
theHBox << Append( oneway( y( colList[i] ), x( :Site ) ) );
If( Mod( i, 4 ) == 0 | i == 25,
mainBox << Append( theHBox );
theHBox = H List Box();
);
);
// Now create the journal to hold all of the results
nw = New Window( "Results", <<JOURNAL></JOURNAL>