netdiffuseR: netdiffuseR version 1.16.7
Description
Fixed bug in struct_equiv: When groupvar was a list (dynamic attr), the function returned error.
Fixed bug in rewire_graph.array: Returned error when algorithm="swap"
Fixed bug in rewire_graph: The option copy.first was not been applied correctly.
In hist.diffnet_struct_test: ... now passed to hist.default.
Fixed bug on egonet_attrs: The matrix method was returning with error.
plot_infectsuscept includes 2D kernel smoother via MASS::kde2d.
infection, susceptibility and threshold now report NA for non-adopters or excluded variables.
egonets_attrs now has new argument: self.attrs allows including ego's attributes as part of the outcome so it can be used by the user.
plot_diffnet now uses igraph::plot.igraph for plotting instead
threshold gains a new argument: lags now users can define threshold as exposure lags time periods prior to the time of adoption. By default is 0 so its exposure at the time of adoption.
New method c.diffnet_struct_test: A wrapper of boot:::c.boot.
diffusionMap computes the required matrix to be used with image-like functions mapping a vertex covariate given a graph structure.
n_rewires: computes a suggested number of rewires per step in order to attain unbiased graph samples.
diffnetLapply: Apply throught periods on diffnet objects.
Several new methods for the class diffnet. Now users can apply str, dimnames (so colnames and rownames), t, &, |, dim and %*%.
drawColorKey: Handy function to draw a color key in the current plot.
classify_adopters: As in Valente (1995), depending on time of adoption, adopters are classified as early adopters, early majority, late majority, and laggards. The function introduces a new class and has methods for ftable and plot.
rescale_vertex_igraph: Helper function to fix the size of vertex when calling plot.igraph so that the size is proportional to the x-axis.
Files
netdiffuseR-v1.16.7.zip
Files
(8.0 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:1c3c4c9f063bb0a807506834490d0601
|
8.0 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/USCCANA/netdiffuseR/tree/v1.16.7 (URL)