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
• Rearrange and Move Columns
上一个
•
下一个
Rearrange and Move Columns
These messages enable you to rearrange columns in a data table:
dt << Reorder By Name; // alphanumeric order
dt << Reverse Order; // reverse current order
dt << Reorder By Data Type; // row state, character, and then numeric
dt << Reorder By Modeling Type; // continuous, ordinal, nominal
dt << Original Order; // saved order
These commands move the currently selected column or columns to the indicated destination point.
dt << Move Selected Column( to first );
dt << Move Selected Column( to last );
dt << Move Selected Column( after( "name" ) );
Note that
Move Selected Column
is an alias for
Move Selected Columns
.
You can also move columns without first selecting them in the data table by using the following syntax.
dt << Move Selected Columns( {"name"}, to first );
dt << Move Selected Columns( {"name"}, to last );
dt << Move Selected Columns( {"name"}, after( "name" ) );