📄 matmacfunc.hlp
字号:
{smcl}
{* 28mar2005}{...}
{cmd:help matmacfunc}
{hline}
{title:Title}
{phang}
Macro extended functions regarding matrices
{title:Syntax}
{pstd}
The following extended macro functions are allowed with {cmd:local} and
{cmd:global}:
{cmd:: rowfullnames} {it:A}
{cmd:: colfullnames} {it:A}
{cmd:: rownames} {it:A}
{cmd:: colnames} {it:A}
{cmd:: roweq} {it:A} {cmd:,} {cmdab:q:uoted}
{cmd:: coleq} {it:A} {cmd:,} {cmdab:q:uoted}
{title:Description}
{pstd}
These extended macro functions obtain the current row and column names and
row and column equation names of a matrix. See {helpb matrix rownames} for
setting the names. See {helpb macro} for information on extended macro
functions. See {helpb matrix} for information on matrices in Stata.
{title:Option}
{phang}
{cmd:quoted} encloses each equation name in double quotes. Some Stata
estimation commands, such as {helpb mlogit}, create matrices with equation
names containing spaces when the dependent variable has value labels
containing spaces. The {cmd:quoted} option makes it possible to correctly
determine each equation name.
{title:Examples}
{phang}{cmd:. local names : rownames mymat}{p_end}
{phang}{cmd:. local names : rowfullnames mymat}{p_end}
{phang}{cmd:. local names : colfullnames e(b)}
{title:Also see}
{psee}
Manual: {bf:[P] matrix}
{psee}
Online: {helpb macro},
{helpb matrix},
{helpb matrix rownames}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -