.BG
.VE $Header: /usr3/s/current/s/.help/RCS/ncomp,v 1.2 83/12/30 19:31:23 rab Exp $
.FN ncomp
.TL
ncomp: Number of Components
.CS
ncomp(x)
.PP
.AG x
hierarchical structure.
.RT
the number of components in `x'.
.PP
Time-series and arrays have 2 components.
.SH SEE ALSO
Function `compname' returns a vector of the component names.
.EX
for(i in seq(ncomp(x)))
     tsplot(x$[i])   # time-series plot of each component of x
.KW basic*
.KW structure
.KW attribute
.WR
