USCCANA/netdiffuseR: CRAN release version 1.17.0
Description
The title of the package is now Analysis of Diffusion and Contagion Processes on Networks.
The function
struct_testnow allows other types of graphs. Before it only supporteddiffnetobjects.The function
rewire_graphgains a new argument for the algorithm "swap". Now to ensure aperiodicity in MCMC a chance of skiping a rewire has been included.The function
n_rewiresnow has a default of 20 (before it was 100). This is based on Ray et al (2012) (more details in the manual).The function
rgraph_bagains a new argument,self=TRUE. By default behaves as before following Bollabas, but now can deviate to generate graphs with no autolinks.In
rgraph_ba, the argumentetaallows implementing De Almeida et al. (2013) Scale-free homophilic networks.The functions
exposureanddgrare now pure R code (C++ functions were replace since there were no significant speed gains).diffnetclass objects now have two new meta-values: name and behavior.Elements -graph-, -toa-, -adopt- and -cumadopt- in
diffnetclass objects have lost their dimnames (more efficient storage).classify_adoptersnow always includes Non-Adopters.
vertex_covariate_distcomputes distances between vertices using both the graph and a matrix of length nxK.vertex_mahalanobis_distcomputes mahalanobis distance between vertices (as above).struct_test_asympan asymptotic approximation ofstruct_test(not recomended).ego_variancecomputes a pseudo variance at the ego level (aux function forstruct_test).transformGraphByapplies a function that transforms a graph considering structural zeros given by groups. Similar to the idea of the -by- option instruct_equiv.read_ucinetread UCINET binary files (both header and graph file). Still work in progress.plot.diffnet_degSeqmethod allows visualizing degree sequence as log-log plots (default).diag_expandcreates a single adjacency matrix from a dynamic graph.summary.diffnet_adoptChangemethod generates a summary table of the df generated byselect_egoalter.permute_graphpermutes the values of an adjacency matrix (Conditional Uniform Graph).rewire_qapgenerates isomorphic graphs by "changing the labels".
^.diffnetmethod was rasing to +1 power, e.g.diffnet^2was actuallydiffnet^3./.diffnetwas not working.plot_diffnetwas computing the coordinates of the cells wrongly. Most of the time causing adding figures outside of the plotting area.The
c.diffnet_struct_testmethod was not updating thep.value.The function
edgelist_to_adjmatwas not processing correctly undirected graphs when the edgelist represented a lower triangular matrix.The function
survey_to_diffnethad an issue processin dyn graph attrs returning errors. Now fixed.The function
select_egoalterreturned error whengraphwas an array.The method
[[<-.diffnetfailed when replacing a dynamic attribute with aNULLvalue (e.g.dn[["my_dyn_att"]] <- NULL).
Files
USCCANA/netdiffuseR-v1.17.0.zip
Files
(7.6 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:4b69b9cb9fb0108cd039a986004dda58
|
7.6 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/USCCANA/netdiffuseR/tree/v1.17.0 (URL)