如何使用數據表範圍?你好,
我的應用程序中有多個數據表。 一個是一開始打開的主表,其他的已經創建好了
使用子集。 我的東西在工作,但我想澄清一下。
我在使用範圍界定時遇到問題。 我想知道在繪製某些東西之前我是否絕對必須使用當前數據表(dt)
或者我可以在我的繪圖中使用 dt:ColumnName 等等。
例如:
Distribution(
Continuous Distribution(
Column(dt:ColumnName)
)
);在這種情況下可以使用 dt 嗎? 我也可以在“By”組中使用 dt 嗎? 或者我是否總是需要將 dt 設為我當前的表然後使用 column
沒有表格參考的名稱。
謝謝你。
Re: 如何使用數據表範圍?確定用於平台的數據范圍的正確方法是將平台消息傳遞給數據表。這確保平台使用正確的數據表
names default to here(1);
dt = Open("$SAMPLE_DATA/big class.jmp");
dt << select where(:Sex == "F");
dt2 = dt << subset( selected rows(1), selected columns(0));
// run a Bivariate against the original data table
dt << Bivariate(x(;weight), y(:height));
// run a Bivariate against the subsetted data table
dt2 << Bivariate(x(;weight), y(:height));