.BG
.VE $Header: /usr3/s/current/s/.help/RCS/select,v 1.2 83/12/30 19:34:20 rab Exp $
.FN select
.FN $
.TL
$  select: Component Selection
.CS
str$component
str$[icomp]
select(str, scomponent)
.PP
.AG str
an expression evaluating to a structure.
.AG component
the name of a component of `str'.
This can contain the minimum number of characters adequate
to uniquely distinguish the component from other components in `str'.
.AG icomp
an integer giving the position of a single component within
`str'.
.AG scomponent
character string giving the name of a component of `str'.
.RT
the selected component.
.PP
The $ operator has very high precedence, and will be done before any
other operators.  Thus, if `str' is an expression returning a
structure, it should ordinarily be parenthesized.
.EX
regress(x,y)$coef

array2$Dim[1]   #first element of Dim component of array2

for(i in seq(ncomp(z))) hist(z$[i])
  #histogram of each of the components of z
.KW basic*
.KW builtin
.KW structure
.KW manip
.WR
