Re:jsl:グループのリストを使用してプロットする方法は?あなたはおそらくこのようなものでそれを行うことができます(あなたはEvalEvalExprが必要です):
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt << Group Columns("group1", {"height", "weight"});
Eval(
EvalExpr(
dt << Oneway(
Y(Expr(dt << Get Column Group("group1"))),
X(:age)
)
)
);
見るEval Insert、Eval Expr、Parse、およびSubstituteを使用して、ある式を別の式に挿入しますEval(EvalExpr())の詳細と例については
Re:jsl:グループのリストを使用してプロットする方法は?
OK、これはわかりましたが、Y(セクション内でループを続けて新しい用語を作成する方法がわかりません。
何かアドバイス?
colgroupNames = dt << get column groups names;<BR /><BR />/*plotting a basic Fit YbyX just to get pValues. Formatting and style done on final plot*/<BR />ow1 = Oneway(<BR />Y( dtAggWide<<GET column="" group=""></GET>, dtAggWide<<GET column="" group=""></GET>, dtAggWide<<GET column="" group=""></GET>),<BR />X( :ChamberId ),<BR />//By(:),<BR /><BR />//All pairs Tukey HSD test<BR />All Pairs(<BR />1,<BR />Confidence Quantile( 0 ),<BR />Difference Matrix( 0 ),<BR />LSD Threshold Matrix( 0 ),<BR />Connecting Letters Report( 0 ),<BR />Ordered Differences Report( 1 )<BR />),<BR />//invisible, //use this to speed up.<BR />);dtAggWide = current data table();
dtAggWide << set name( "AggWide");
RecipeStepIndex ={"10.0.0.0.0.0", "11.0.0.0.0.0", "12.0.0.0.0.0"} // column groups names. Each group has 100+ columns.
//trying to create a series of charts using the groups, looping through the groups
ow1 = Oneway(
Y( for( i = 1, i<=Nitems( RecipeStepIndex), i++,
dtAggWide<<GET column="" group=""></GET>Re:jsl:グループのリストを使用してプロットする方法は?だから私はこのソリューションを@txnelson : https://community.jmp.com/t5/Discussions/Script-multiple-columns-grouped-in-distribution-plot/td-p/162557
しかし、この式構築作業を行うのではなく、グループ名をループする方法があるかどうか疑問に思っています.
Names Default To Here( 1 );
dtAggWide = current data table();
dtAggWide << set name( "AggWide");
//get the column groups
colgroupNames = dt << get column groups names;
//temporary string for testing
RecipeStepIndex ={"10.0.0.0.0.0", "11.0.0.0.0.0", "12.0.0.0.0.0"}
// Build a character string that represents the commands that need to be run
theExpr_start = "ow1 = Oneway(
Y( dtAggWide<<GET column="" group=""></GET>Re:jsl:グループのリストを使用してプロットする方法は?これはコードを書き直したもので、式を作成する必要がなくなりました
Names Default To Here( 1 );
dt = Current Data Table();
dt<< set name( "AggWide" );
//get the column groups and put them into one long list
colgroupNames = dt << get column groups names;
colsList = {};
For( i = 1, i <= N Items( colgroupNames ), i++,
Insert Into( colsList, dt << get column group( colgroupNames[i] ) )
);
//temporary string for testing
RecipeStepIndex = {"10.0.0.0.0.0", "11.0.0.0.0.0", "12.0.0.0.0.0"};
// Build a character string that represents the commands that need to be run
ow1 = Oneway(
Y( Eval( colsList ) )
,
X( :ChamberID ),
//By(:),
//All pairs Tukey HSD test
All Pairs(
1,
Confidence Quantile( 0 ),
Difference Matrix( 0 ),
LSD Threshold Matrix( 0 ),
Connecting Letters Report( 0 ),
Ordered Differences Report( 1 )
),
//invisible, //use this to speed up.
);
Re:jsl:グループのリストを使用してプロットする方法は?どうもありがとうございます。私の投稿を読んでも、その情報を引き出すのに役立つ get 関数を発見した人はいませんでした。
Re:jsl:グループのリストを使用してプロットする方法は?問題を解決してくれてありがとう。私の記事を読んでも、必要な情報を引き出すための get 関数が見つかりませんでした。
Re:jsl:グループのリストを使用してプロットする方法は?すみません、ここで苦労しています。
evalexpr をネストする理由がわかりません。
を置き換える方法はありませんか
Y( dtAggWide<<GET column="" group=""></GET>
列グループのリストで?
以前にこのリストを作成しました。この RecipeStepIndex を Y グループに交換するにはどうすればよいですか?
//Build and prefill an Array of names of the RecipeStepId
Summarize( dt, RecipeStepIndex = by( :RecipeStepId) );//get list of unique RecipeStepID's

jsl: グループのリストを使用してプロットするにはどうすればよいですか?この投稿の続き: https://community.jmp.com/t5/Discussions/Script-to-loop-thru-and-group-columns-by-name-dynamically/mp/470274#M71439
10,000 以上の列を StepID ごとにグループにグループ化していますが、今度はそれらすべてをプロットしようとしています。
すべてのグループのリストによってプロットするように指示する方法がまったくわかりません。何かアドバイス?

/*plotting a basic Fit YbyX just to get pValues. Formatting and style done on final plot*/
ow1 = Oneway(
Y( dtAggWide<<GET column="" group=""></GET>
データのブレンディングとクリーンアップ