| pinv | R Documentation |
Uses singular value decomposition to calculate the pseudo-inverse of a matrix.
pinv(Sij, ...)
Sij |
matrix, or an object to be coerced into a matrix |
... |
additional arguments |
This can be useful when predictions of tensor strains are used to make predictions on a gauge-by-gauge basis with strain data
The attribute "dimnames" is recycled; any other attribute will be lost.
A. Barbour
pseudoinverse for details of the method
calibration_matrix
# get a calibration table
pbotbl <- get_caltbl("pbo")
# and the first available calibration matrix...
m <- any_calibration(pbotbl, "B082")
# Calculate the pseudoinverse
print(mi <- pinv(m))
# we can get back the original, less attributes of course
mo <- pinv(mi)
try( all.equal(m, mo, check.attributes=FALSE) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.