- coords
An \(n \times 2\) matrix of centroid
coordinates for the regions in the form (x, y) or
(longitude, latitude) is using great circle distance.
- w
A binary spatial adjacency matrix for the
regions.
- k
An integer indicating the maximum number of
regions to inclue in a potential cluster. Default is
10
- longlat
The default is FALSE
, which
specifies that Euclidean distance should be used. If
longlat
is TRUE
, then the great circle
distance is used to calculate the intercentroid
distance.
- cl
A cluster object created by makeCluster
,
or an integer to indicate number of child-processes
(integer values are ignored on Windows) for parallel evaluations
(see Details on performance).
It can also be "future"
to use a future backend (see Details),
NULL
(default) refers to sequential evaluation.
- loop
A logical value indicating whether a loop
should be used to implement the function instead of
pbapply
. The default is
FALSE
. If TRUE
, then memory-saving steps
are also taken.
- verbose
A logical value indicating whether
progress messages should be provided.
The default is FALSE
. If both loop
and
verbose
are TRUE
, informative messages
are displayed that can be useful for diagnosing where
the sequences of connected subgraphs are slowing down
or having problems.
- pfreq
The frequency that messages are reported
from the loop (if verbose = TRUE
). The default
is pfreq = 1
, meaning a message is returned for
each index of the loop.