_ca_process_mlabel.ado
来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· ADO 代码 · 共 25 行
ADO
25 行
*! version 1.0.0 19may2005
* routine used by cabiplot and caprojection
program _ca_process_mlabel, sortpreserve
version 9.0
args mlabel colon var mlabvar touse type
// touse is expected to be (-e(sample))
tempvar temp
sort `touse' `var'
quietly by `touse' `var' : ///
generate `temp' = `mlabvar' == `mlabvar'[_n+1] | _n == _N
sort `touse' `temp'
if ! `temp'[1] {
display as text ///
"warning: `type' marker labels are not " ///
"consistent within groups (ignored)"
c_local `mlabel' ""
}
else {
c_local `mlabel' "mlabel(`mlabvar')"
}
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?