| Line 31... |
Line 31... |
| 31 |
}
|
31 |
}
|
| 32 |
\value{
|
32 |
\value{
|
| 33 |
If \code{FUN} is not \code{NULL}, it is passed to
|
33 |
If \code{FUN} is not \code{NULL}, it is passed to
|
| 34 |
\code{\link{match.fun}}, and hence it can be a function or a symbol or
|
34 |
\code{\link{match.fun}}, and hence it can be a function or a symbol or
|
| 35 |
character string naming a function.
|
35 |
character string naming a function.
|
| 36 |
|
36 |
|
| 37 |
When \code{FUN} is present, \code{tapply} calls \code{FUN} for each
|
37 |
When \code{FUN} is present, \code{tapply} calls \code{FUN} for each
|
| 38 |
cell that has any data in it. If \code{FUN} returns a single atomic
|
38 |
cell that has any data in it. If \code{FUN} returns a single atomic
|
| 39 |
value for each such cell (e.g., functions \code{mean} or \code{var})
|
39 |
value for each such cell (e.g., functions \code{mean} or \code{var})
|
| 40 |
and when \code{simplify} is \code{TRUE}, \code{tapply} returns a
|
40 |
and when \code{simplify} is \code{TRUE}, \code{tapply} returns a
|
| 41 |
multi-way \link{array} containing the values, and \code{NA} for the
|
41 |
multi-way \link{array} containing the values, and \code{NA} for the
|