所以我试图改变一个新的 window() 报告嵌套在哪个数据表下,它似乎是基于在报告中首先使用哪个数据表。 有没有办法强制这种嵌套?
Names default to here(1);
dt = open("$SAMPLE_DATA\Big Class.jmp");
dt << Bivariate(Y(:height), X(:weight));
dt_sum = dt << Summary(
Group( :age ),
Mean( :height ),
Mean( :weight ),
Freq( "None" ),
Weight( "None" )
);
//This will nest under dt_sum
new window("Summary First",
dt_sum << Distribution( Continuous Distribution( Column( :Name( "Mean(height)" ) ) ) ),
dt << Bivariate(Y(:height), X(:weight)),
);
//This will nest under dt
new window("Main First",
dt << Bivariate(Y(:height), X(:weight)),
dt_sum << Distribution( Continuous Distribution( Column( :Name( "Mean(height)" ) ) ) ),
);另一种方法是使用 sib 前置消息——但奇怪的是,我需要 wait() 语句来完成它。尝试使用和不使用 wait() 以了解我的意思。
//This will now also nest under dt_sum
nw = new window("Main First",
rep1 = dt_sum << Distribution( Continuous Distribution( Column( :Name( "Mean(height)" ) ) ) ),
);
wait();
rep1 << Sib Prepend(
dt << Bivariate(Y(:height), X(:weight))
);