フィット グループ項目へのアクセスこんにちは、
フィット グループ (行列、リストなど) とは何かがわかりません。
フィット グループ内の特定のオブジェクトにコマンドを送信するにはどうすればよいですか?
ありがとう。
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Group = Fit Group(
Bivariate (Y( :weight ),X( :height )),
Oneway (Y( :weight ),X( :age )),
Oneway (Y( :weight ),X( :sex )));
//最初の一方向で変位値を実行する方法は?
Group[Oneway(2)] << Quantiles(1);//this doesn't work
Re: Fit Group アイテムにアクセスする次の 2 つの方法があります。
- グループ内の各オブジェクトへの参照を保存します。
- グループの表示ツリー内でオブジェクトを見つけます。
Names default to here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
//The easy way: save references to each element
Group = Fit Group(
bv1 = Bivariate ( Y( :weight ),X( :height ) ),
ow1 = Oneway (Y( :weight ),X( :age )),
ow2 = Oneway (Y( :weight ),X( :sex ))
);
//And send messages like you normally would
ow1 << Quantiles(1);
//The harder way is to find the analysis in the tree structure:
((Group << Find( OutlineBox(5) ) ) << Get Scriptable Object) << Quantiles(1);
//Here is how I put the second method together:
//Find the OutlineBox to reference, note the 'helpkey' to verify that you at the right spot
Group << Show Tree Structure;
//Get a reference to the child outlinebox
Group << Find( OutlineBox(5) );
//Get the object that is normally returned from that function, similar to ow2
((Group << Find( OutlineBox(5) ) ) << Get Scriptable Object)