_restore_labels.hlp

来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· HLP 代码 · 共 63 行

HLP
63
字号
{smcl}
{* 07apr2005}{...}
{cmd:help _restore_labels}{...}
{right:also see:  {help undocumented}}
{hline}

{title:title}

{p 4 26 2}
{hi:_restore_labels} {hline 2} restore value labels to variables


{title:Syntax}

{phang2}
{cmd:_restore_labels}
	{varlist}
	{cmd:,}
		{opt labels(lblnamelist)} 


{title:Description}

{pstd}
{cmd:_restore_labels} attaches the value label identifiers to the variables in
{it:varlist}.


{title:Option}

{phang}
{opt labels(lblnameslist)} specifies the list of value label identifiers.  The
number of identifiers in {it:lblnamelist} must equal the number of variable in
{it:varlist}.


{title:Examples}


{phang}{cmd:. sysuse auto, clear}{p_end}

{phang}{cmd:. _strip_labels rep78 foreign}{p_end}

{phang}{cmd:. local vlist `s(varlist)'}{p_end}

{phang}{cmd:. local llist `s(labellist)'}{p_end}

{phang}{cmd:. }{it:some work with the unlabeled values}{p_end}

{phang}{cmd:. _restore_labels `vlist', labels(`llist')}{p_end}


{title:Also see}

{psee}
Manual:  {hi:[D] label}

{psee}
Online:
{helpb label},
{helpb _strip_labels}
{p_end}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?