该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


Select Where Using Dates.jsl applies the Date MDY format to a column of departure dates and subsets the data. A summary table of mean net costs by departure date then appears (图 17.2).
hdt = Open( "$SAMPLE_DATA/Travel Costs.jmp" );
hdt << Select Where(
(Date MDY( 02, 01, 2007 ) <= :Departure Date < Date MDY( 03, 1, 2007 ))
nt1 = hdt << Subset( Columns( :Departure Date ),
Output Table Name( "February Departure Date" ) );
nt2 = hdt << Subset( Output Table Name( "February Data" ) );
Mean( :Net Cost ),
Output Table Name( "Mean Net Cost by Departure Date" )
图 17.2 The Original Table and the Final Summary Table