Skip to content

Commit

Permalink
spatstat.explore v. 3.2-1
Browse files Browse the repository at this point in the history
  • Loading branch information
EricMarcon committed May 16, 2023
1 parent 691ef6b commit b079f23
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: dbmss
Type: Package
Title: Distance-Based Measures of Spatial Structures
Version: 2.8-0.9002
Version: 2.8-0.9003
Authors@R: c(
person("Eric", "Marcon", email="eric.marcon@agroparistech.fr", role=c("aut", "cre"), comment = c(ORCID = "0000-0002-5249-321X")),
person("Gabriel", "Lang", email="gabriel.lang@agroparistech.fr", role="aut", comment = c(ORCID = "0000-0002-4325-6044")),
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# dbmss 2.8-0.9002
# dbmss 2.8-0.9003

## Improvements

- C code cleaned up.

## External changes

- `Dhat()` code modified according to _spatstat.explore_ v.3.2-1 new features (thanks to Prof. Adrian Baddeley).


# dbmss 2.8-0

Expand Down
2 changes: 1 addition & 1 deletion R/Dhat.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function(X, r = NULL, Cases, Controls = NULL, Intertype = FALSE, CheckArguments
}
# Calculate the difference (a difference between fv's yields a dataframe)
Dvalues <- KCases-KControls
DEstimate <- cbind(as.data.frame(KCases)[1], Dvalues[2:3])
DEstimate <- cbind(as.data.frame(KCases)[1], as.data.frame(Dvalues[2:3]))

# Return the values of D(r)
D <- fv(DEstimate, argu="r",
Expand Down

0 comments on commit b079f23

Please sign in to comment.