代码拉取完成,页面将自动刷新
同步操作将从 连享会/nwcommands 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
VERSION 10
SYNCHRONOUS_ONLY
INCLUDE _std_mlarge
DEFINE _dlght 250
INCLUDE header
HELP hlp1, view("help nwcorrelate")
RESET res1
SCRIPT PREINIT
BEGIN
program initialize
legend.rb_off.seton
create STRING legendOptions
create STRING tievalueOptions
create STRING patches_colorOptions
END
SCRIPT labelsShowProp
BEGIN
main.vr_label.hide
main.tx_label.show
END
SCRIPT labelsShowAll
BEGIN
main.vr_label.show
main.tx_label.show
END
SCRIPT labelsHide
BEGIN
main.vr_label.hide
main.tx_label.hide
END
DIALOG main, tabtitle("Correlation")
BEGIN
TEXT tx_var1 30 10 100 ., label("Network:")
COMBOBOX cb_var1 30 30 150 ., dropdownlist contents(netlist) nomem
TEXT tx_var2 210 10 100 ., label("Variable:")
VARNAME cb_var2 210 30 180 ., option(attribute)
TEXT tx_mode 30 70 250 ., label("Expand mode")
COMBOBOX cb_mode 30 90 150 . , label("Expand") contents(mode) dropdownlist option(mode)
CHECKBOX cx_perm 30 110 250 ., label("Run QAP permutations (and plot)") nomem onclickon(script permOn) onclickoff(script permOff)
SPINNER sp_perm 40 130 80 . ,label("Permutations") default(100) nomem option(permutations) max(1000)
FILE fi_save 150 130 230 ., label("Save As") save option(save) nomem
TEXT tx_kernel 30 150 250 ., label("Add kdensity options (see help kdensity)")
EDIT ed_kernel 30 170 250 ., label("Kdensity")
END
INCLUDE gr_yaxis
INCLUDE gr_xaxis
INCLUDE gr_titles
INCLUDE gr_legend
INCLUDE gr_overall
SCRIPT permOff
BEGIN
main.sp_perm.hide
main.fi_save.hide
END
SCRIPT permOn
BEGIN
main.sp_perm.show
main.fi_save.show
END
LIST netlist
BEGIN
// intentionally empty
// this list will be populated by _nwdialog.ado
END
LIST mode
BEGIN
same
dist
distinv
absdist
absdistinv
sender
receiver
END
PROGRAM initialize
BEGIN
put "_nwdialog nwcorrelateAttr"
stata hidden immediate
END
PROGRAM command
BEGIN
//require main.cb_var1
//require main.cb_var2
put "nwcorrelate " main.cb_var1 " "
beginoptions
optionarg main.cb_var2
optionarg main.sp_perm
optionarg main.cb_mode
put main.ed_kernel
if main.sp_perm {
put " " /program gr_yaxis_output
put " " /program gr_xaxis_output
put " " /program gr_titles_output
put " " /program gr_legend_output
put " " /program gr_overall_output
}
endoptions
stata
END
*! v1.5.0 __ 17 Sep 2015 __ 13:09:53
*! v1.5.1 __ 17 Sep 2015 __ 14:54:23
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。