powered by
Strategy 2: Optimal spatial data discretization for individual variables based on SPADE model.
loessoptidisc(x, y)
A numeric vector of break numbers
A numeric vector of q values
A list of an optimal number of discretization and a plot.
# NOT RUN { lod <- loessoptidisc(x = 4:15, y = log(4:15 + runif(12))) # }
Run the code above in your browser using DataLab