你好,
我正在尝试更改加载散点图中的变量名称,但我不能。 PCA 分析中包含的变量来自两个链接数据表。 我想将列名称更改为新的缩写名称。
非常感谢你提前。
载荷图中变量的名称是数据列的名称。 更改 PCA 之前的列名称。
如果出于某种原因您不想重命名列,您可以在启动平台时创建计算列。这是一张带有 PCA 的表格,显示了原始名称,另一张表格显示了较短的名称:
Names Default To Here( 1 );
dt = Open( "$Sample_data/Quality Control/Chemical Reactor Process.jmp" );
New window("PCA Compare",
h list box(
dt << Principal Components(
Y( :A.Feed.S1, :D.Feed.S2, :E.Feed.S3, :Total.Feed.S4 ),
Estimation Method( "Row-wise" ),
Standardize( "Standardized" ),
Loading Plot( 2 )
),
dt << Principal Components(
Transform Column( "S1", Formula( :A.Feed.S1 ) ),
Transform Column( "S2", Formula( :D.Feed.S2 ) ),
Transform Column( "S3", Formula( :E.Feed.S3 ) ),
Transform Column( "S4", Formula( :Total.Feed.S4 ) ),
Y( :S1, :S2, :S3, :S4 ),
Estimation Method( "Row-wise" ),
Standardize( "Standardized" ),
Loading Plot( 2 )
);
)
);