用於保存直方圖計數和中點的腳本 你好,
我紅了“直方圖計數”的討論。
我想編寫一個執行相同操作的腳本:在表格中保存中點值和已調整binning的出現次數。
它對應於交互式序列:分析/分配列,調整圖表箱,保存級別和中點數。
我不需要顯示圖表,只記錄值。我沒有真正找到如何從表/摘要中找到它。
謝謝您的幫助。
Re:用於保存直方圖計數和中點的腳本謝謝 !
Re:用於保存直方圖計數和中點的腳本以下是如何使用直方圖平台中的區間計數生成匯總表的示例。 它應該為您提供如何為您的數據執行此操作的開始
Names Default to here(1);
// Open the Big Class data table from the Sample Library
dt=open("$SAMPLE_DATA/Big Class.jmp");
// Run the Distribution Platform without visibility
dis = dt << Distribution(invisible, Continuous Distribution( Column( :height ) ) );
// Save the Midpoints to the data table
dis << save ( Level Midpoints);
// Close the invisible window
dis << close window;
// Use the Summary Platform to create the summary results
dtSum = dt << Summary(
Group( :Midpoint height ),
N( :height ),
Freq( "None" ),
Weight( "None" )
);
// Cleanup both data tables
dt << delete column("Midpoint Height");
dtSum << delete column("N Rows");