The R Project SVN R

Rev

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

Rev 61168 Rev 61433
Line 26... Line 26...
26
  \item{\dots}{optional arguments to \code{FUN}.}
26
  \item{\dots}{optional arguments to \code{FUN}.}
27
}
27
}
28
\details{
28
\details{
29
  \code{FUN} is found by a call to \code{\link{match.fun}}.  As in the
29
  \code{FUN} is found by a call to \code{\link{match.fun}}.  As in the
30
  default, binary operators can be supplied if quoted or backquoted.
30
  default, binary operators can be supplied if quoted or backquoted.
31
  
31
 
32
  \code{FUN} should be a function of two arguments: it will be called
32
  \code{FUN} should be a function of two arguments: it will be called
33
  with arguments \code{x} and an array of the same dimensions generated
33
  with arguments \code{x} and an array of the same dimensions generated
34
  from \code{STATS} by \code{\link{aperm}}.
34
  from \code{STATS} by \code{\link{aperm}}.
35
  
35
 
36
  The consistency check among \code{STATS}, \code{MARGIN} and \code{x}
36
  The consistency check among \code{STATS}, \code{MARGIN} and \code{x}
37
  is stricter if \code{STATS} is an array than if it is a vector.
37
  is stricter if \code{STATS} is an array than if it is a vector.
38
  In the vector case, some kinds of recycling are allowed without a
38
  In the vector case, some kinds of recycling are allowed without a
39
  warning.  Use \code{sweep(x, MARGIN, as.array(STATS))} if \code{STATS}
39
  warning.  Use \code{sweep(x, MARGIN, as.array(STATS))} if \code{STATS}
40
  is a vector and you want to be warned if any recycling occurs.
40
  is a vector and you want to be warned if any recycling occurs.