1 Star 0 Fork 7

夏汉林/nwcommands

forked from 连享会/nwcommands 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nwvalidvars.sthlp 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
ThomasGrund 提交于 2015-02-18 23:41 . v1.1.6D
{smcl}
{* *! version 1.0.4 23aug2014 author: Thomas Grund}{...}
{marker topic}
{helpb nw_topical##utilities:[NW-2.7] Utilities}
{title:Title}
{p2colset 9 20 22 2}{...}
{p2col :nwvalidvars {hline 2} Validate Stata variables for network}
{p2colreset}{...}
{title:Syntax}
{p 8 17 2}
{cmdab: nwvalidvars}
{it:{help int:nodes}} ,
{opth stub(string)}
{synoptline}
{p2colreset}{...}
{title:Description}
{pstd}
Validates names of Stata variables that can be used to represent a network of size {it:nodes}. Stata variables
are generated by combining {bf:stub()} with a consecutive number. If these Stata variables already exists, the
command comes up with a new suggestion for naming variables. This command is mostly used for progamming.
{title:Examples}
{cmd:. nwclear}
{cmd:. webnwuse gang}
{cmd:. nwvalidvars 10, stub(g)}
{cmd:. return list}
{title:Stored results}
{bf:r(stub)} stub used to generate Stata variable names
{bf:r(valid)} "true" when Stata variables do not already exist, "false" otherwise
{bf:r(validvars)} list of valid Stata variables
{title:Also see}
{help nwvalidate}, {help nwload}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiahanlin/nwcommands.git
git@gitee.com:xiahanlin/nwcommands.git
xiahanlin
nwcommands
nwcommands
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385