Description Usage Arguments Value Author(s)
View source: R/localmean.weight2.R
This function calculates the initial section of the localmean.weight function and serves to allow recovery from an error in the singular value decomposition function (La.svd) that is called by the generalized inverse function (ginv) in the MASS package.
1 | localmean.weight2(x, y, prb, nbh)
|
x |
Vector of x-coordinates for location of the sample points. |
y |
Vector of y-coordinates for location of the sample points. |
prb |
Vector of inclusion probabilities for the sample points. |
nbh |
Number of neighboring points to use in the calculations. |
Either an object of class "try-error" when the ginv function terminates with an error or a generalized inverse matrix when the ginv function terminates normally.
Don Stevens Tom Kincaid Kincaid.Tom@epa.gov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.