pad.Rd
Resets the dimension of a spam
matrix by truncation or zero padding.
pad(x) <- value
<!-- %"pad<-.spam"(x,value) -->
a spam
matrix
A numeric two-vector.
A (spam
) matrix of dimension value
where trunction or
padding has
been used.
It is important to notice the different behavior of the replacement
method for ordinary arrays and spam
objects (see
‘Examples’). Here, the elements are not simply rearranged but
an entirely new matrix is constructed. If the new column dimension is
smaller than the original, the matrix is also cleaned (with
option("spam.eps")
as filter).