📄 _restore_labels.hlp
字号:
{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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -