forked from ThomasGrund/nwcommands
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nwclustering.dlg
executable file
·50 lines (43 loc) · 1.06 KB
/
nwclustering.dlg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
VERSION 10
INCLUDE _std_small
//INCLUDE _std_small /* this INCLUDES _small.idlg, which defines
// _dlgwd = 350 and _dlght = 200 */
//INCLUDE header
SYNCHRONOUS_ONLY
HELP hlp1, view("help nwcomponents")
OK ok1, label("OK")
CANCEL can1, label("Cancel")
SUBMIT sub1, label("Submit")
RESET res1
POSITION 10 10 370 150
SCRIPT PREINIT
BEGIN
program initialize
END
DIALOG main, title("nwclustering - Clustering coefficient")
BEGIN
TEXT tx_var 20 20 100 ., ///
label("Networks:")
COMBOBOX cb_var +70 20 240 ., ///
dropdown contents(netlist) append nomem
TEXT tx_new 20 50 200 ., label("Generate new variable with this prefix:")
EDIT ed_new 230 50 100 ., default("_clustering") nomem
END
LIST netlist
BEGIN
// intentionally empty
// this list will be populated by _nwdialog.ado
END
PROGRAM initialize
BEGIN
put "_nwdialog nwclustering"
stata hidden immediate
END
PROGRAM command
BEGIN
put "nwclustering " main.cb_var
put ", generate(" main.ed_new ")"
stata
END
*! v1.5.0 __ 17 Sep 2015 __ 13:09:53
*! v1.5.1 __ 17 Sep 2015 __ 14:54:23