sf
, units
instead of rgeos
and sp
build_lines
now returns an sf
LINESTRING objectbuild_polys
now returns an sf
POLYGON/MULTIPOLYGON objectgroup_lines
now accepts an input sf
LINESTRING object (argument "sfLines")
and internally uses sf::st_intersects
, sf::st_buffer
, etc instead of rgeos
functionsgroup_polys
now accepts an input sf
POLYGON/MULTIPOLYGON object (argument "sfPolys")
and internally uses sf::st_intersects
, sf::st_area
, etc instead of rgeos
functions.
group_polys
now returns area and proportion of overlap when area = TRUE
with
respective units using the units
packagespatsoc
+ targets
workflow examplegroup_polys
from alphanumeric to
spaces in input DT's id columngroup_pts
, edge_nn
and edge_dist
(PR 46)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). dyad_id
function for generating dyad IDs with edge functions (PR 27)edge_dist
, edge_nn
and dyad_id
functions here (PR 14)data.table
error in edge_dist
and edge_nn
(PR 25)group_pts
, edge_dist
and edge_nn
(PR 24)SIMPLIFY=FALSE
in SNA vignette. edge_nn
(PR 11)edge_dist
(PR 11)pkgdown
URL (PR 1)build_polys
or group_polys
(!3)get_gbi
to generate group by individual matrices for better integrating spatsoc
in social network analysis workflows (!2)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 long data.table
(!1). build_lines
ordering bug to ensure rows are ordered by date time when building linesgroup_times
group_pts
, group_lines
, group_polys
randomizations
build_lines
, build_polys
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.