selectidsa {IDSA} | R Documentation |
Selecting optimal interaction for IDSA model.
Description
Selecting optimal interaction for IDSA model.
Usage
selectidsa(formula, data, location, ndisc, methoddisc)
Arguments
formula |
A formula of spatial variables |
data |
A data frame of dataset |
location |
A character vector of location names in a data frame |
ndisc |
A numeric vector of break numbers for respective explanatory variables |
methoddisc |
A character vector of discretization methods |
Value
A list of process and results of optimal interaction for IDSA model.
Examples
sim$xd <- log(sim$xa * sim$xb)
s1 <- selectidsa(formula = y ~ xa + xb + xc + xd, data = sim,
location = c("lo", "la"),
ndisc = c(4,6,6,5), methoddisc = "quantile")
[Package IDSA version 2.1 Index]