dot-deter_these: Determine the surrounding "these" points for prediction

.deter_theseR Documentation

Determine the surrounding "these" points for prediction

Description

Determine the surrounding "these" points for prediction

Usage

.deter_these(s0, s, Y, global, eta, m)

Arguments

s0

prediction location, a numeric vector with length = 2.

s

an n x 2 matrix or data.frame with two coordinates of n locations.

Y

a vector with n values corresponding to Y(s).

global

logical; if TRUE , scp function returns the result of global spatial conformal prediction (GSCP); if FALSE, scp function returns the result of local spatial conformal prediction (LSCP) and users need to specify eta. Defaults to TRUE.

eta

kernel bandwidth for weight schema, a positve scalar with smaller value meaning more localized procedure. Defauls to Inf, which puts equal weight on surrounding m points.

m

an postive integer representing the number of nearest locations to use for prediction. Default depands on eta.

Value

a vector of location indexes for prediction


mhuiying/scp documentation built on May 4, 2022, 11:35 p.m.