spade {IDSA} | R Documentation |
SPADE model with spatial discretization parameters.
Description
SPADE model with spatial discretization parameters.
Usage
spade(formula, location, data, ndisc, methoddisc)
Arguments
formula |
A formula of spatial variables |
location |
A character vector of location names in a data frame |
data |
A data frame of dataset |
ndisc |
A numeric vector of break numbers for respective explanatory variables |
methoddisc |
A character vector of discretization methods |
Value
A data frame of power of determinants (PD) of individual variables from SPADE model.
Examples
q.spade <- spade(formula = y ~ xa + xb + xc, location = c("lo", "la"),
data = sim, ndisc = c(4,6,6), methoddisc = "quantile")
[Package IDSA version 2.1 Index]