The R Project SVN R

Rev

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

Rev 61150 Rev 61433
Line 27... Line 27...
27
}
27
}
28
\details{
28
\details{
29
  \code{X} and \code{Y} must be suitable arguments for \code{FUN}.  Each
29
  \code{X} and \code{Y} must be suitable arguments for \code{FUN}.  Each
30
  will be extended by \code{\link{rep}} to length the products of the
30
  will be extended by \code{\link{rep}} to length the products of the
31
  lengths of \code{X} and \code{Y} before \code{FUN} is called.
31
  lengths of \code{X} and \code{Y} before \code{FUN} is called.
32
    
32
 
33
  \code{FUN} is called with these two extended vectors as
33
  \code{FUN} is called with these two extended vectors as
34
  arguments. Therefore, it must be a vectorized function (or the
34
  arguments. Therefore, it must be a vectorized function (or the
35
  name of one), expecting at
35
  name of one), expecting at
36
  least two arguments.
36
  least two arguments.
37
 
37
 
Line 41... Line 41...
41
  if dimensions do not exist).
41
  if dimensions do not exist).
42
 
42
 
43
  \code{FUN = "*"} is handled internally as a special case, \emph{via}
43
  \code{FUN = "*"} is handled internally as a special case, \emph{via}
44
  \code{as.vector(X) \%*\% t(as.vector(Y))}, and is intended only for
44
  \code{as.vector(X) \%*\% t(as.vector(Y))}, and is intended only for
45
  numeric vectors and arrays.
45
  numeric vectors and arrays.
46
  
46
 
47
  \code{\%o\%} is binary operator providing a wrapper for
47
  \code{\%o\%} is binary operator providing a wrapper for
48
  \code{outer(x, y, "*")}.
48
  \code{outer(x, y, "*")}.
49
}
49
}
50
\author{Jonathan Rougier}
50
\author{Jonathan Rougier}
51
\references{
51
\references{