Skip to content

Commit 10c524d

Browse files
committed
change args order in local_joincount_uni
1 parent f9b712c commit 10c524d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: spdep
22
Version: 1.4-2
3-
Date: 2025-10-19
3+
Date: 2026-01-12
44
Title: Spatial Dependence: Weighting Schemes, Statistics
55
Encoding: UTF-8
66
Authors@R: c(person("Roger", "Bivand", role = c("cre", "aut"),

R/local-joincount-univariate.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
# p-values are only reported for those where xi = 1L and have at least 1 neighbor with one xj == 1L value
1010
local_joincount_uni <- function(fx, chosen, listw,
1111
alternative = "two.sided",
12-
ties.method = "average",
1312
nsim = 199,
1413
iseed = NULL,
14+
ties.method = "average",
1515
no_repeat_in_row=FALSE) {
1616

1717
# check that fx is a factor with 2 levels

man/local_joincount_uni.Rd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ local_joincount_uni(
77
chosen,
88
listw,
99
alternative = "two.sided",
10-
ties.method = "average",
1110
nsim = 199,
1211
iseed = NULL,
12+
ties.method = "average",
1313
no_repeat_in_row=FALSE
1414
)
1515
}
@@ -22,12 +22,12 @@ local_joincount_uni(
2222

2323
\item{alternative}{default \code{"greater"}. One of \code{"less"} or \code{"greater"}.}
2424

25-
\item{ties.method}{default \code{"average"} passed through to \code{rank}, can take values accepted by \code{rank}: \code{c("average", "first", "last", "random", "max", "min")}, see \code{\link{rank}}}
26-
2725
\item{nsim}{the number of conditional permutation simulations}
2826

2927
\item{iseed}{default NULL, used to set the seed; the output will only be reproducible if the count of CPU cores across which computation is distributed is the same}
3028

29+
\item{ties.method}{default \code{"average"} passed through to \code{rank}, can take values accepted by \code{rank}: \code{c("average", "first", "last", "random", "max", "min")}, see \code{\link{rank}}}
30+
3131
\item{no_repeat_in_row}{default \code{FALSE}, if \code{TRUE}, sample conditionally in each row without replacements to avoid duplicate values, \url{https://github.com/r-spatial/spdep/issues/124}}
3232

3333
}

0 commit comments

Comments
 (0)