📄 examplehelpfile.hlp
字号:
{smcl}
{* 07apr2005}{...}
{cmd:help whatever}
{hline}
{title:Title}
{hi:[U] 18.11.6 Writing online help}
{title:Calculate whatever statistic}
{title:Syntax}
{p 8 17 2}
{cmdab:wh:atever}
[{varlist}]
{ifin}
{weight}
[{cmd:,} {it:options}]
{synoptset 20 tabbed}{...}
{synopthdr}
{synoptline}
{syntab:Main}
{synopt:{opt d:etail}}display additional statistics{p_end}
{synopt:{opt mean:only}}suppress the display; calculate only the mean;
programmer's option{p_end}
{synopt:{opt f:ormat}}use variable's display format{p_end}
{synopt:{opt sep:arator(#)}}draw separator line after every {it:#} variables;
default is {cmd:separator(5)}{p_end}
{synopt:{opth g:enerate(newvar)}}create variable name {it:newvar}{p_end}
{synoptline}
{p2colreset}{...}
{p 4 6 2}
{cmd:by} may be used with {cmd:whatever}; see {helpb by}.{p_end}
{p 4 6 2}
{cmd:fweight}s are allowed; see {help weight}.
{title:Description}
{pstd}
{cmd:whatever} calculates the whatever statistic for the variables in
{varlist} when the data are not stratified.
{title:Options}
{dlgtab:Main}
{phang}
{cmd:detail} displays detailed output of the calculation.
{phang}
{cmd:meanonly} restricts the calculation to be based on only the means. The
default is to use a trimmed mean.
{phang}
{cmd:format} requests that the summary statistics be displayed using
the display formats associated with the variables, rather than the default
{cmd:g} display format; see
{bf:[U] 12.5 Formats: controlling how data are displayed}.
{phang}
{opt separator(#)} specifies how often to insert separation lines
into the output. The default is {cmd:separator(5)}, meaning that a
line is drawn after every 5 variables. {cmd:separator(10)} would draw a line
after every 10 variables. {cmd:separator(0)} suppresses the separation line.
{phang}
{opth generate(newvar)} creates {it:newvar} containing the whatever
values.
{title:Remarks}
{pstd}
For detailed information on the whatever statistic, see {bf:[R] intro}.
{title:Examples}
{phang}{cmd:. whatever mpg weight}
{phang}{cmd:. whatever mpg weight, meanonly}
{title:Also see}
{psee}
Manual: {bf:[U] 18.11.6 Writing online help}
{psee}
Online: {helpb help}, {helpb summarize}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -