VarSO: Neighborhood-based estimator from...

Description Usage Arguments Value References

View source: R/VarEst.R

Description

Constructor for a local variance estimator introduced in \insertCitestevens_variance_2003;textualspsys. This is a wrapper for an implementation in the spsurvey package. A column named pi_i must be present in the dataframe contained in the @data slot that specifies the first order inclusion probabilities of each element in the sample.

Usage

1
VarSO(fpc = FALSE, diagnostic = FALSE, coord_cols = NA, nbh = 4)

Arguments

fpc

If TRUE, finite population correction factor will be applied.

diagnostic

If TRUE, diagnostic information, i.e. a VarOut, object will be returned.

coord_cols

A character vector of the names of the coordinates in the sys_frame that contain the x and y coordinates. The x column name should be listed first.

nbh

The number of neighbors to use in the construction of local neighborhoods.

Value

Returns a function with the specified arguments that can be called on a SysFrame.

References

\insertAllCited
brycefrank/spsys documentation built on Aug. 1, 2020, 12:21 a.m.