localmean.weight: Internal Function: Local Mean Variance Neighbors and Weights

Description Usage Arguments Value Author(s) See Also

View source: R/localmean.weight.R

Description

This function calculates the index values of neighboring points and associated weights required by the local mean variance estimator.

Usage

1
localmean.weight(x, y, prb, nbh = 4, vincr = 1e-05 * abs(mean(y)))

Arguments

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.

vincr

The variance increment for correcting an La.svd error. The default is 0.00001*abs(mean(y)).

Value

List containing two elements: a matrix named ij composed of the index values of neighboring points and a vector named gwt composed of weights.

Author(s)

Don Stevens Kincaid.Tom@epa.gov

See Also

localmean.weight2


mhweber/spsurvey documentation built on Sept. 17, 2020, 4:24 a.m.