zap | R Documentation |
k
-forms and k
-tensorsEquivalent to zapsmall()
zap(X)
## S3 method for class 'kform'
zap(X)
## S3 method for class 'ktensor'
zap(X)
X |
Tensor or |
Given an object of class ktensor
or kform
, coefficients
close to zero are ‘zapped’, i.e., replaced by ‘0’, using
base::zapsmall()
.
Note, zap()
actually changes the numeric value, it is not just
a print method.
Returns an object of the same class
Robin K. S. Hankin
S <- rform(7)
S == zap(S)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.