powered by
Function for determining optimal spatial data discretization for individual variables based on locally estimated scatterplot smoothing (LOESS) model.
loess_optnum(qvec, discnumvec, increase_rate = 0.05)
A two element numeric vector.
discnum
optimal number of spatial data discretization
increase_rate
the critical increase rate of the number of discretization
A numeric vector of q statistics.
A numeric vector of break numbers corresponding to qvec.
qvec
(optional) The critical increase rate of the number of discretization. Default is 0.05.
0.05
qv = c(0.26045642,0.64120405,0.43938704,0.95165535,0.46347836, 0.25385338,0.78778726,0.95938330,0.83247885,0.09285196) loess_optnum(qv,3:12)
Run the code above in your browser using DataLab