Learn R Programming

IDSA (version 2.1)

loessoptidisc: Strategy 2: Optimal spatial data discretization for individual variables based on SPADE model.

Description

Strategy 2: Optimal spatial data discretization for individual variables based on SPADE model.

Usage

loessoptidisc(x, y)

Arguments

x

A numeric vector of break numbers

y

A numeric vector of q values

Value

A list of an optimal number of discretization and a plot.

Examples

Run this code
# NOT RUN {
lod <- loessoptidisc(x = 4:15, y = log(4:15 + runif(12)))

# }

Run the code above in your browser using DataLab