The R Project SVN R

Rev

Rev 286 | Rev 7501 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 286 Rev 3475
Line 15... Line 15...
15
The values in \code{x} are taken to be those in the array with the
15
The values in \code{x} are taken to be those in the array with the
16
leftmost subscript moving fastest.  If there are too few elements
16
leftmost subscript moving fastest.  If there are too few elements
17
in \code{x} to fill the array, then the elements in \code{x} are
17
in \code{x} to fill the array, then the elements in \code{x} are
18
recycled.
18
recycled.
19
 
19
 
20
\code{as.array} coerces its argument to be an array by attaching a
20
\code{as.array()} coerces its argument to be an array by attaching a
-
 
21
\code{\link{dim}} attribute to it.  It also attaches \code{\link{dimnames}} if
21
\code{dim} attribute to it.  The sole purpose of this is to make it
22
\code{x} has \code{\link{names}}}. The sole purpose of this is to make it
22
possible to access the \code{dim} attribute at a later time.
23
possible to access the \code{dim}[names] attribute at a later time.
23
 
24
 
24
\code{is.array} returns \code{TRUE} or \code{FALSE} depending on
25
\code{is.array} returns \code{TRUE} or \code{FALSE} depending on
25
whether its argument is an array (i.e. has a \code{dim} attribute)
26
whether its argument is an array (i.e. has a \code{dim} attribute)
26
or not.
27
or not.
27
}
28
}