JMP 14.2 联机文档
发现 JMP
使用 JMP
基本分析
基本绘图
刻画器指南
实验设计指南
拟合线性模型
预测和专业建模
多元方法
质量和过程方法
可靠性和生存方法
消费者研究
Scripting Guide
JSL Syntax Reference
该帮助的版本不再更新,请参见
https://www.jmp.com/support/help/zh-cn/15.2
获取最新的版本.
Scripting Guide
•
Data Tables
•
Columns
• Add a Column Switcher
上一个
•
下一个
Add a Column Switcher
Use JSL to add a Column Switcher panel to a report window. The Column Switcher lets you quickly analyze different variables without having to re-create your analysis.
obj << Column Switcher(<default_col>(<col1>, <col2>, ...);
// add a Column Switcher to the report
obj << Remove Column Switcher();
// remove the Column Switcher from a report
For example, add the Column Switcher to a Contingency report for the
Car Poll.jmp
data as follows:
dt =
Open
(
"$SAMPLE_DATA/Car Poll.jmp"
);
obj =
Contingency
(
Y( :size ),
X( :marital status )
);
ColumnSwitcherObject = obj <<
Column Switcher
(
:marital status,
{:sex, :country, :marital status}
);
ColumnSwitcherObject <<
Set Size
(
200
);
// number of pixels for the switcher width
ColumnSwitcherObject <<
Set NLines
(
6
);
// number of columns to display in the switcher
For more details about the Column Switcher, see
“列转换程序”
in the
Using JMP
book.