help in
-------------------------------------------------------------------------------
Title
[U] 11.1.4 in range
Syntax
command in range
where range is #
#/#
#/l
f/#
Description
in at the end of a command means that the command is to use only the
observations specified. in is allowed with most Stata commands.
Examples
. sysuse auto
. list price in 10 (any command may be substituted for list)
. list price in 10/20
. list price in 20/l (lowercase el at end of range)
. list price in 1/10 (numeric 1 at beginning of range)
. list price in f/10 (f means the same as 1)
. list price in -10/l (lowercase el at end of range)
F is allowed as a synonym for f, and L is allowed as a synonym for l.
Negative numbers may be used to specify distance from the end of the
data. The last example says to list the last 10 observations and could
also be written
. list price in -10/-1
Also see
Manual: [U] 11.1.4 in range
Help: [U] 11 Language syntax;
[U] 11 Language syntax (the by prefix),
[U] 11.1.3 if range (the if qualifier)