- yobs
Variable Y
- xobs
The original undiscretized covariable X.
- wt
The spatial weight matrix.
- discnum
(optional) Number of multilevel discretization. Default will use 3:8
.
- discmethod
(optional) The discretization methods. Default will use quantile
.
If discmethod
is set to robust
, the function robust_disc()
will be used. Conversely,
if discmethod
is set to rpart
, the rpart_disc()
function will be used. Others use
sdsfun::discretize_vector()
. Currently, only one discmethod
can be used at a time.
- cores
(optional) A positive integer(default is 1). If cores > 1, use parallel computation.
- seed
(optional) Random seed number, default is 123456789
.
- permutations
(optional) The number of permutations for the PSD computation. Default is 0
,
which means no pseudo-p values are calculated.
- ...
(optional) Other arguments passed to sdsfun::discretize_vector()
,robust_disc()
or rpart_disc()
.