1 Star 1 Fork 7

连享会/nwcommands

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nwring.sthlp 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
ThomasGrund 提交于 2015-02-18 23:41 . v1.1.6D
{smcl}
{* *! version 1.0.0 11nov2014}{...}
{marker topic}
{helpb nw_topical##generator:[NW-2.3] Generators}
{title:Title}
{p2colset 9 16 22 2}{...}
{p2col :nwring {hline 2} Generate a ring-lattice network}
{p2colreset}{...}
{title:Syntax}
{p 8 17 2}
{cmdab: nwring}
{it:{help int:nodes}}
{cmd:,}
{opth k(int)}
[{opt undirected}
{opth name(newnetname)}
{opt vars}({it:{help newvarlist}})
{opt xvars}
{opth ntimes(int)}]
{synoptset 20 tabbed}{...}
{synopthdr}
{synoptline}
{synopt:{it:{help in:nodes}}}number of nodes{p_end}
{synopt:{opth k(int)}}number of neighhbors on ring-lattice on each side{p_end}
{synopt:{opt undirected}}generate an undirected network; default = directed{p_end}
{synopt:{opth name(newnetname)}}name of the new network{p_end}
{synopt:{opt vars}({it:{help newvarlist}})}new variables that are used for the network{p_end}
{synopt:{opt xvars}}do not generate Stata variables{p_end}
{synopt:{opth ntimes(int)}}number of networks to be generated; default = 1{p_end}
{title:Description}
{pstd}
{cmd:nwring} generates a directed ring-lattice network. Each node is connected to {it:k}
nodes on each side. Basically, each node has 2 * {it:k} neighbors in a ring structure.
{title:Examples}
{cmd:. nwclear}
{cmd:. nwring 20, k(2) undirected}
{cmd:. nwplot, arcbend(.5)}
{title:See also}
{help nwpref}, {help nwrandom}, {help nwlattice}, {help nwsmall}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/arlionn/nwcommands.git
git@gitee.com:arlionn/nwcommands.git
arlionn
nwcommands
nwcommands
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385