2935_zh-CN
取消 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 )
);