複製行並更改一列值我發現行文檔非常令人沮喪。 是否可以複製整行並將其新增至目前資料表? 我的行有很多列,因此我不想遍歷每個列名稱來執行此操作。
或者,如果可以從兩個不同的資料表製作單向圖,那麼這也將解決我的問題。 JMP有這個能力嗎?
回覆:複製行並更改一列值謝謝你,這對我有用,我已經實現了我的最終目標。
回覆:複製行並更改一列值這是一個使用 Big Class 的範例。 我使用第 8 行建立子集表,然後將其附加回原始大類表。
dt1 = open("$sample_data/Big Class.jmp");
// Make a subset using row 8
dt2 = dt1 << Subset( Selected Rows( 0 ), Rows( [8] ),
Selected columns only( 0 )
);
// Concatenate the new table back to big class
dt1 << concatenate(dt2, append to first table);
回覆:複製行並更改一列值Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\big class.jmp" );
// select a row
dt << select where( Row() == 5 );
// subset the data
dtsel = dt << subset( invisible, selected rows( 1 ), selected columns( 0 ) );
// put the tables together
dt = dt << Concatenate( dtsel, append to first table( 1 ) );
// delete the unneeded supbet table
colose( dtsel, nosave );
回覆:複製行並更改一列值您能回覆 JSL 憑證嗎?
回覆:複製行並更改一列值您可以將一行作為子表,然後將其與較大的表連接起來。