こんにちは-Nカテゴリ(プロセス分類レベル1)列から始めて、JMPスクリプティングを使用して以下の要約シートで1に等しくないセルに色を付ける方法を教えてもらえますか? また、これらは単なるサンプル列であり、他に40の列があるため、スクリプトで実際の列名を指定したくありません。 最後に、サマリーテーブルでセルに色が付いている場合、サマリーテーブルがリンクされている元のデータテーブルに色を適用できますか?

この問題を処理する1つの方法は次のとおりです。

Names Default To Here( 1 );
// Open Data Table: big class.jmp
// → Data Table( "big class" )
dt = Open( "$SAMPLE_DATA/big class.jmp" );
dtSum = dt << Summary(
Group( :age ),
Mean( :height ),
Mean( :weight ),
Freq( "None" ),
Weight( "None" ),
statistics column name format( "column" )
);
// Get the column names of the current columns
sumColNames = dtSum << get column names(string);
// Remove the first 2 columns from the list
remove from( sumColNames, 1, 2 );
// loop across columns finding all cells > 63
For( i=1, i<= N Items( sumColNames ), i++,
// select all rows where cells are above 63
dtSum << select where( as column( dtSum, sumColNames[i]) > 63 );
// Color cells in summary table
as column(dtSum, sumColNames[i]) << Color Cells( red, dtSum << get selected rows );
// Color cells in original table
as column(dt, sumColNames[i]) << Color Cells( red, dt << get selected rows );
)
どうもありがとう! 出来た。
フォローアップの質問として、データテーブルで強調表示されたセルで任意の行をマークするために1のインジケーター列を作成したい場合、どうすればよいですか?