2935_zh-TW
取消 JSL 中表的鏈接也許我今天反應慢,但我無法弄清楚這一點。 我想做的就是創建一個匯總表(或某種鏈接表)並關閉原始表而不關閉鏈接表。 有任何想法嗎?
例子:
dt = 新表(“啤酒”,
添加行( 4 ),
新列(“組”,
特點,
標稱,
設置值({“黑啤酒”,“黑啤酒”,“垃圾”,“垃圾”})
),
新專欄(“啤酒”,
特點,
標稱,
設定值(
{“schwarzbier”、“munich dunkel”、“淡美式啤酒”、“麥芽酒”}
)
),
設置行狀態( [0, 0, 1, 0] )
);
bob = dt << 摘要( 組( : 組 ) );
關閉(dt,不保存);回复:在 JSL 中取消鏈接表我打賭那會起作用的! 謝謝!回复:在 JSL 中取消鏈接表像這樣的事情可能會做:
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">dt
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">=
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: rgb(0, 0, 221);">新
桌子
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">(
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: Purple;">"啤酒"
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
添加
行數(
style="font-size: 10pt; font-family: "快遞新"; color: 青色;">4
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
)
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
style="font-size: 10pt; font-family: "快遞新"; color: rgb(0, 0, 221);">新
柱子
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">(
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: Purple;">"群組"
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
特點
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
標稱
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
放
價值觀(
{
style="font-size: 10pt; font-family: "快遞新"; color: 紫色;">"深色
啤酒”
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 紫色;">"深色
啤酒”
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: Purple;">"垃圾"
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: Purple;">"垃圾"
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">}
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
)
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
)
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
style="font-size: 10pt; font-family: "快遞新"; color: rgb(0, 0, 221);">新
柱子
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">(
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: Purple;">"啤酒"
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
特點
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
標稱
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
放
價值觀(
{
style="font-size: 10pt; font-family: "Courier New"; color: Purple;">"schwarzbier"
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: Purple;">"慕尼黑
鄧克爾”
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 紫色;">"淺色
美國啤酒”
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 紫色;">"麥芽
酒”
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">}
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
)
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
)
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
放
行狀態(
[
style="font-size: 10pt; font-family: "快遞新"; color: 青色;">0
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 青色;">0
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 青色;">1
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 青色;">0
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">]
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
)
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">)
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">;
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">鮑勃
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">=
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
dt
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;"><<
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
概括(
團體(
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">:
style="font-size: 10pt; font-family: "快遞新"; color: black;">組
)
)
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">;
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">鮑勃
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;"><<
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
子集(
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
輸出
桌子(
style="font-size: 10pt; font-family: "快遞新"; color: Purple;">"啤酒
概括”
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
)
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">,
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
風格=“”>
複製
公式(
style="font-size: 10pt; font-family: "快遞新"; color: 青色;">0
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
)
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">)
style="font-size: 10pt; font-family: "快遞新"; color: 海軍藍;">;
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; font-family: "快遞新"; color: 黑色;">
style="font-size: 10pt; line-height: 115%; font-family: "快遞新"; color: rgb(0, 0, 221);">關閉
style="font-size: 10pt; line-height: 115%; font-family: "快遞新"; color: 黑色;">(
style="font-size: 10pt; line-height: 115%; font-family: "快遞新"; color: 黑色;">
dt
style="font-size: 10pt; line-height: 115%; font-family: "Courier New"; color: navy;">,
style="font-size: 10pt; line-height: 115%; font-family: "快遞新"; color: 黑色;">
沒有保存)
style="font-size: 10pt; line-height: 115%; font-family: "Courier New"; color: navy;">;回复:在 JSL 中取消鏈接表看起來這是 JMP 9 的新功能,我大部分時間都在使用它。 我有幾個與 JMP 8 用戶共享的腳本。 有人知道如何在 JMP 8 中做到這一點嗎?回复:在 JSL 中取消鏈接表沒關係。 我想到了。 我在腳本指南中搜索“unlink”。 搜索“鏈接”最終讓我找到了它。
默認情況下,匯總錶鍊接到原始數據表。 如果您想要生成不鏈接到原始數據表的摘要,請將此選項添加到您的摘要消息中:
summDt << 摘要( 組( col ), Mean( :height ),
鏈接到原始數據表( 0 )
);