cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Ken697
Level I

標準化列名稱如何用變數取代求解

//新增周標準化
weekEMC_HF_C_12_0 = Data Table( "周_EMC_HF_C_12um" ) << Get Column Names( string );
weekEMC_HF_C_12 = {};
//少一周={:"2022W38"n,:"2022W40"n,:"2022W41"n};
For( j = N Items( weekEMC_HF_C_12_0 ), j >= (N Items( weekEMC_HF_C_12_0 ) - 5), j--,
Insert Into( weekEMC_HF_C_12, weekEMC_HF_C_12_0[j] )
);
Try(
Local( {old dt = Current Data Table()},
Current Data Table( Data Table( "周_EMC_HF_C_12um" ) );
For Each( {col, index}, weekEMC_HF_C_12,
col << Set Property( "Spec Limits", {LSL( 0.72 ), Show Limits( 0 )} )
);
Current Data Table( old dt );
)
);
weekEMC_HF_C_12 = {"2022W40", "2022W38", "2022W29", "2022W28", "2022W27", "2022W26"};

無法執行

TRY(Local( {old dt = Current Data Table()},Current Data Table( Data Table( "周_EMC_HF_C_12um" ) );
	For Each( {col, index},weekEMC_HF_C_12,
		col << Set Property("Spec Limits",{LSL( 0.72 ), Show Limits( 0 )}));
	Current Data Table( old dt );
););

要如何修改成weekEMC_HF_C_12 ={:“2022W38”n,:“2022W40”n,:“2022W41”n}的顯示方式

\\ =>可執行 {:"2022W38"n,:"2022W40"n,:"2022W41"n};

\\ =>無法執行{"2022W40", "2022W38", "2022W29", "2022W28", "2022W27", "2022W26"};

 

0 REPLIES 0

Recommended Articles