leader_direction_group
function for calculating leadership defined as position within a spatiotemporal group along the mean direction of movement (PR 66)direction_to_leader
function for calculating the direction to the leader of each spatiotemporal group identified byleader_direction_group
(PR 68)distance_to_leader
function for calculating the distance to the leader of each spatiotemporal group identified byleader_direction_group
(PR 68)- removed temporary startup message warning of changes related to R-spatial evolution
New experimental functions:
direction_polarization
function for calculating polarization of individual directions within spatiotemporal groups (PR 76)direction_group
function for calculating mean group direction (PR 91)direction_to_centroid
function for calculating direction in radians from each individual's position in a spatiotemporal group and the group's centroid,distance_to_centroid
function for calculation the distance (and rank distance) from each individual's position in a spatiotemporal group and the group's centroid (PR 74)direction_step
function for calculating direction in radians between each location (PR 90)
New experimental functions:
centroid_fusion
function for calculation fusion centroids (PR 89)centroid_group
function for calculating group centroids (PR 72))
New experimental function:
fusion_id
function for flexibly identifying fission-fusion events (PR 78)- improve tests of
fusion_id
with tests for expected number of output fusionIDs (PR 83)
- fixed CRAN notes about number of cores/parallel process/threads (PR 58)
- fixed CRAN notes (PR 56)
- following R-spatial evolution,
removed dependencies on retired spatial packages (
PR 50:
PR 52,
PR 53,
PR 54
PR 55)
- spatsoc now depends on
sf
,units
instead ofrgeos
andsp
build_lines
now returns ansf
LINESTRING objectbuild_polys
now returns ansf
POLYGON/MULTIPOLYGON objectgroup_lines
now accepts an inputsf
LINESTRING object (argument "sfLines") and internally usessf::st_intersects
,sf::st_buffer
, etc instead ofrgeos
functionsgroup_polys
now accepts an inputsf
POLYGON/MULTIPOLYGON object (argument "sfPolys") and internally usessf::st_intersects
,sf::st_area
, etc instead ofrgeos
functions.group_polys
now returns area and proportion of overlap whenarea = TRUE
with respective units using theunits
package- tests, vignettes, manual updated
- added temporary package startup message until November 2024
- spatsoc now depends on
- added a link to our
spatsoc
+targets
workflow example - changed the error and underlying check for
group_polys
from alphanumeric to spaces in input DT's id column - clarify timegroups are required for
group_pts
,edge_nn
andedge_dist
(PR 46) - fix potential mixup between a column named splitBy and splitBy arg (PR 45)
- fix links in man (PR 47)
- fix proportions outside 0-1 due to differences in default units from rgeos::gArea and polys@area (PR 49)
- Add keyword internal by @maelle (PR 40)
- Rm unnecessary lines by @maelle (PR 43)
- added an option for
edge_dist
to handle threshold = NULL. If NULL,edge_dist
will return all neighbours observed (eg. useful if one wanted to calculated mean nearest neighbour distance at each timegroup). - updated EPSG argument according to newest recommendations in tests, man and vignettes (PR 38
- removed expect_silent tests (PR 37)
- switched CI for tests and code coverage to GitHub Actions (PR 36)
- fix TZ=UTC data.table tests (Issue 32)
- updated tests, man and vignettes following new handling of projections in sp (PR 31, R spatial information)
- clarified explicit drop of NAs in dyadID in edge list vignette
- added
dyad_id
function for generating dyad IDs with edge functions (PR 27) - added a vignette describing
edge_dist
,edge_nn
anddyad_id
functions here (PR 14)
- fixed
data.table
error inedge_dist
andedge_nn
(PR 25)
- removed default NULL from 'timegroup' arguments in
group_pts
,edge_dist
andedge_nn
(PR 24)
- fixed bug for randomizations type 'step' and 'daily' (PR 13).
- clarified
SIMPLIFY=FALSE
in SNA vignette.
- update FAQ and Introduction to spatsoc vignettes adding entries for edge list generating functions.
- added edge list generating function
edge_nn
(PR 11) - added edge list generating function
edge_dist
(PR 11)
- fix inconsistent blocks across years (PR 10)
- update FAQ: remove old randomizations notes, clarify group_times block
- update issue labels and contributing
- change over issue board location from GitLab to rOpenSci repository on GitHub
- added preprint CITATION
- added "https://" to
pkgdown
URL (PR 1)
- fin rOpenSci onboarding process
- fixed bug couldn't provide percent to kernel type
build_polys
orgroup_polys
(!3)
- added
get_gbi
to generate group by individual matrices for better integratingspatsoc
in social network analysis workflows (!2)
- major change to randomizations: when
iterations = 1
,randomizations
no longer returns the DT with appended columns. Regardless of the value of iterations,randomizations
always returns observed rows followed by randomized rows in a longdata.table
(!1).
- improvements to package, function documentation
- FAQ vignette added
- fixed
build_lines
ordering bug to ensure rows are ordered by date time when building lines - added CODE_OF_CONDUCT.md and CONTRIBUTING.md
- Using spatsoc in social network analysis vignette added
- temporal grouping function:
group_times
- spatial grouping functions:
group_pts
,group_lines
,group_polys
- data-stream randomization function:
randomizations
- spatial build functions:
build_lines
,build_polys