sigratio {IDSA}R Documentation

Ratio of significantly different zones.

Description

Ratio of significantly different zones.

Usage

sigratio(formula, data, ndisc, methoddisc, methodoverlay = "fuzzyAND")

Arguments

formula

A formula of spatial variables

data

A data frame of dataset

ndisc

A numeric vector of break numbers for respective explanatory variables

methoddisc

A character vector of discretization methods

methodoverlay

A character of spatial overlay methods, including "fuzzyAND" and "intersection"

Value

A list of ratios of significantly different zones.

Examples

sr1 <- sigratio(formula = y ~ xa + xb + xc, data = sim,
               ndisc = c(4,4,5), methoddisc = "quantile",
               methodoverlay = "fuzzyAND")
sr2 <- sigratio(formula = y ~ xa + xb + xc, data = sim,
               ndisc = c(4,4,5), methoddisc = "quantile",
               methodoverlay = "intersection")
sr1$n.zone; sr2$n.zone
sr1$ratio.sigdif; sr2$ratio.sigdif


[Package IDSA version 2.1 Index]