-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0353bf6
Showing
42 changed files
with
1,895 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
^spacejamr\.Rproj$ | ||
^\.Rproj\.user$ | ||
^LICENSE\.md$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.Rproj.user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Package: spacejamr | ||
Title: Simulate Spatial Bernoulli Networks | ||
Version: 1.0.0 | ||
Authors@R: | ||
person(given = "Darren", | ||
family = "Colby", | ||
role = c("aut", "cre"), | ||
email = "[email protected]", | ||
comment = c(ORCID = "0000-0001-8468-2755")) | ||
Description: Social network analysis is becoming increasingly popular in many | ||
social science disciplines, but access to useful network data, especially | ||
among marginalized populations, still remains a large obstacle. Using this | ||
package, it is possiblt to mitigate this problem by simulating spatial | ||
Bernoulli networks as orignially proposed by Carter T Butts (2002). To that | ||
end, spacejamr allows network analysts to simulate spatial Bernoulli | ||
networks by generating a spatial point process with a given number of | ||
"nodes" or points in a given geographical area; calculate the probability | ||
that any two nodes share a tie using either a standard power law or | ||
attenuated power law spatial interaction function; and | ||
generate a network object. Additionally, the package also provides simple | ||
to use plotting methods for its classes that return ggplot objects. | ||
License: MIT + file LICENSE | ||
Encoding: UTF-8 | ||
LazyData: true | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.1.1 | ||
Imports: | ||
crsuggest, | ||
dplyr, | ||
ggraph, | ||
ggplot2, | ||
igraph, | ||
magrittr, | ||
sf, | ||
spatstat.core, | ||
spatstat.geom, | ||
ggthemes, | ||
methods | ||
Depends: | ||
R (>= 2.10) | ||
Suggests: | ||
testthat (>= 3.0.0) | ||
Config/testthat/edition: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
YEAR: 2021 | ||
COPYRIGHT HOLDER: Darren Colby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# MIT License | ||
|
||
Copyright (c) 2021 spacejamr authors | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
S3method(plot,NetSim) | ||
S3method(plot,PointSim) | ||
S3method(plot,spacejamr) | ||
S3method(print,NetSim) | ||
S3method(print,PointSim) | ||
S3method(print,spacejamr) | ||
S3method(summary,NetSim) | ||
S3method(summary,PointSim) | ||
S3method(summary,spacejamr) | ||
export("%>%") | ||
export(APLNetwork) | ||
export(HaltonSeq) | ||
export(PointProcess) | ||
export(PowerLawNetwork) | ||
export(spacejamr) | ||
importFrom(magrittr,"%>%") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# spacejamr 1.0.0 | ||
|
||
* This is the first version of spacejamr. As bugs are fixed, functionality is | ||
added, or other changes are made, they will be described here. |
Oops, something went wrong.