1 Star 1 Fork 7

连享会/nwcommands

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nwtabulate1.dlg 3.14 KB
一键复制 编辑 原始数据 按行查看 历史
ThomasGrund 提交于 2015-09-18 19:13 . v1.5.1
/*
tabulate2
*! VERSION 1.1.2 23jan2013
*/
VERSION 10.0
SYNCHRONOUS_ONLY
INCLUDE _std_medium
INCLUDE header
HELP hlp1, view("help nwtab1")
RESET res1
SCRIPT PREINIT
BEGIN
program initialize
END
DIALOG main, label("nwtab1 - One-way table") tabtitle("Main")
BEGIN
TEXT tx_var _lft _top 195 ., /*
*/ label("Network:") /*
*/
COMBOBOX vn_var @ _ss _vnwd ., /*
*/ label("Network") contents(netlist) nomem dropdownlist /*
*/
CHECKBOX ck_miss _lft _ls _iwd ., /*
*/ label("Treat missing values like other values") /*
*/ option("missing") /*
*/
CHECKBOX ck_nofreq @ _ms @ ., /*
*/ label("Do not display frequencies") /*
*/ option("nofreq") /*
*/
CHECKBOX ck_plot @ _ms @ ., /*
*/ label("Produce a bar chart of the relative frequencies") /*
*/ option("plot") /*
*/
CHECKBOX ck_sort @ _ms @ ., /*
*/ label("Display the table in descending order of frequency") /*
*/ option("sort")
END
DIALOG adv, label("") tabtitle("Advanced")
BEGIN
TEXT tx_matcel _lft _top _iwd ., /*
*/ label("Generate a matrix with the cell frequencies:")/*
*/
EDIT ed_matcel _lft _ss _vnwd ., /*
*/ label("Matrix of cell frequencies") /*
*/ max(32) /*
*/ option("matcell") /*
*/
TEXT tx_matrow _lft _ls _iwd ., /*
*/ label("Generate a matrix with the row values:") /*
*/
EDIT ed_matrow _lft _ss _vnwd ., /*
*/ label("Matrix of row values") /*
*/ max(32) /*
*/ option("matrow") /*
*/
END
LIST netlist
BEGIN
// intentionally empty
// this list will be populated by _nwdialog.ado
END
PROGRAM initialize
BEGIN
put "_nwdialog nwtabulate1"
stata hidden immediate
END
PROGRAM command
BEGIN
put "nwtabulate " main.vn_var
beginoptions
option main.ck_miss
option main.ck_nofreq
option main.ck_plot
option main.ck_sort
optionarg adv.ed_matcel
optionarg adv.ed_matrow
endoptions
END
*! v1.5.0 __ 17 Sep 2015 __ 13:09:53
*! v1.5.1 __ 17 Sep 2015 __ 14:54:23
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/arlionn/nwcommands.git
git@gitee.com:arlionn/nwcommands.git
arlionn
nwcommands
nwcommands
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385