powered by
Power of spatial and multilevel discretization determinant (PSMD) of SPADE model for an individual explanatory variable.
qs1(y, x, xh, location)
A numeric vector of a response variable
A numeric vector of a explanatory variable
A character variable of an explanatory variable
A matrix of spatial locations
A data frame of PSMD values.
# NOT RUN { library(GD) data.disc <- disc(sim$xa, 4, "quantile") xh <- cut(sim$xa, data.disc$itv, include.lowest = TRUE) qs1(y = sim$y, x = sim$xa, xh = xh, location = sim[, c("lo","la")]) # }
Run the code above in your browser using DataLab