.BG
.VE $Header: /usr3/s/current/s/.help/RCS/array,v 1.2 83/12/30 19:24:16 rab Exp $
.FN array
.TL
array: Create an Array
.CS
array(data, dim)
.PP
.AG data
numeric vector containing the data values for the array in
the normal array order: the first subscript varies most
rapidly.  Missing values (NAs) are allowed.
.AG dim
vector giving the extent for each dimension.
Default is `len(data)'.
.RT
an array with the same mode as `data', and dimensionality
described by `dim'.  If `data' does not completely fill the
array, it is repeated until the array is filled (giving a
warning if it does not take an integral number of
repetitions of `data').
.EX
myiris <- array(read("irisfile"),c(4,3,50))
          # creates a 4 by 3 by 50 array
.KW multi*
.KW structure
.WR
