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