netdiffuseR: Analysis of Diffusion and Contagion Processes on Networks
Description
Changes in netdiffuseR version 1.19.0 (2017-10-16) New functions and features
-
rdiffnetnow allows passing scalars forthreshold.dist, more over, the user can also ask the function to just warn when there is no diffusion instead of returning with error. -
plot.diffnet,plot_diffnet,plot.diffnet_mentor, andplot_diffnet2use igraph for plotting. Also, users can now pass "degree" for -vertex.size- (vertex.cex not used anymore), allowing to "automatically" scale vertices by (in/out/.)degree. Also, plotting arguments like vertex. or edge. are standarized so these match igraph. -
plot_diffnethas a new parameter:background. -
rdiffnet_multiple, a wrapper ofrdiffnet, allows performing simulations studies by running simulating multiple diffusion networks usingrdiffnet. -
exposurehas a new parameter:lags. By default lags = 0, returns a lagged exposure matrix.
Bug fixes
-
igraph_to_diffnetwas failing with the graph had no weights. -
drop_isolatedwas not behaving well for diffnet objects. -
vertex_covariate_distwas incorrectly specified. Only the default p=2 were OK. Now fixed and the tests/ folder includes a tests on this. -
plot_diffnet2was not passingcolor.ramptodrawColorKey. Now fixed. -
plot.diffnet_mentorhad a bug. Uncesary permutation of vertices was done, but it actually had no visible effect. Similar problem was corrected indiffnet_to_igraph, and other plot methods using igraph for plotting.
Other changes
-
Replacing some C++ functions by R functions in cases in which there was no decrease in performance.
-
plot_diffnetfunction now has smaller margins, so looks more appealing. -
New examples in vignettes "netdiffuseR showcase: Medical Innovations", and "Simulating diffusion networks: Using the
rdiffnetfunction".
Files
USCCANA/netdiffuseR-v1.19.0.zip
Files
(29.0 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:e0818813f62890014e91048d0ac3d9fc
|
29.0 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/USCCANA/netdiffuseR/tree/v1.19.0 (URL)