powered by
SPADE model with spatial discretization parameters.
spade(formula, location, data, ndisc, methoddisc)
A formula of spatial variables
A character vector of location names in a data frame
A data frame of dataset
A numeric vector of break numbers for respective explanatory variables
A character vector of discretization methods
A data frame of power of determinants (PD) of individual variables from SPADE model.
# NOT RUN { q.spade <- spade(formula = y ~ xa + xb + xc, location = c("lo", "la"), data = sim, ndisc = c(4,6,6), methoddisc = "quantile") # }
Run the code above in your browser using DataLab