Summary {spam} | R Documentation |
Applies the summary functions to 'spam' objects
max(x, ..., na.rm = FALSE) min(x, ..., na.rm = FALSE) range(x, ..., na.rm = FALSE) prod(x, ..., na.rm = FALSE) sum(x, ..., na.rm = FALSE) any(x, ..., na.rm = FALSE ) all(x, ..., na.rm = FALSE)
x |
spam object. |
... |
numeric arguments. |
na.rm |
a logical indicating whether missing values should be removed, see details. |
The for this generic class typical na.rm
argument has
no weight here as NA/NaN/Inf are not meaningful (yet).
All functions operate on the vector x@entries
and return the
result thereof.
Reinhard Furrer
smat <- diag.spam(rnorm(15)) range(smat)