不按字母顺序汇总我有一个顺序很重要的数据集,我希望能够用重复值来总结一个字符列,而结果不按字母顺序排列。
column_A
F
F
b
b
b
d
一种
一种
C
C
C
Ë
Ë
常用方法返回{a,b,c,d,e,f},
我正在尝试获取{f,b,d,a,c,e}
请指教。
回复:不按字母顺序汇总我可以正式确认Summarize()现在从JMP 14及更高版本开始支持Value Ordering属性。
回复:不按字母顺序汇总我很高兴自己很少编写任何脚本的另一个原因-表格在Value Ordering中可以正常工作。
回复:不按字母顺序汇总不幸的是,在JMP 13及更早版本中总结() JSL函数不尊重价值排序属性。
我已经确认这将在JMP 14中得到纠正。
回复:不按字母顺序汇总而且,更一般而言,您可以使用“值顺序”列属性对所需的变量施加任何顺序。 该顺序将用于任何后续分析(制表,图形等)中。
回复:不按字母顺序汇总如果要汇总的订单是在数据中找到的订单,则可以将列属性“ Row Order Level”设置为Column_A,然后运行
表格==>摘要
数据将按照在数据表中找到分组列的顺序进行汇总

回复:不按字母顺序汇总有时,只是要求您最终将精力放到可能的解决方案上。我给你,非字母化的摘要器:
no_sort_summarize = function({list},
design_matrix = Design( list, list ); //compares the list to itself returning a 1 in the position of the first match for each repetition
summarized_matrix = (Transpose(V Sum(design_matrix))); //flatten matrix into one row and transpose into columns
unique_value_positions = Loc(summarized_matrix); //return only the position of the first instance of a value thus creating a summary
return(list[unique_value_positions]); //subscript list to return the non-sorted summarized values
);